fix og:image
[prawokultury.git] / migdal / feeds.py
old mode 100755 (executable)
new mode 100644 (file)
index 93b39ce..9e01f19
@@ -20,6 +20,8 @@ class EntriesFeed(Feed):
             category = None
         if type_db:
             entry_type = TYPES_DICT[type_db]
             category = None
         if type_db:
             entry_type = TYPES_DICT[type_db]
+        else:
+            entry_type = None
         return {'entry_type': entry_type, 'category': category}
 
     def title(self, obj):
         return {'entry_type': entry_type, 'category': category}
 
     def title(self, obj):