Commits

Ian Lewis committed c28fc11

Fixed bug importing the media_description

  • Participants
  • Parent commits 93412ff

Comments (0)

Files changed (1)

File lifestream/plugins/__init__.py

     if media_player_attrs:
       media_player_url = media_player_attrs.get('url')
 
-    media_description = force_unicode(entry.get("media_description"))
+    media_description = entry.get("media_description")
+    if media_description
+        media_description = force_unicode(media_description)
 
     item = Item(feed = self.feed,
              date = entry.get('published'),