Author: duncan
Date: Sun Jan 14 14:15:22 2007
New Revision: 8978

Modified:
   branches/rel-1/freevo/src/video/videoitem.py

Log:
[ 1629340 ] Runtime shows "min min" when runtime comes from imdb
Another fix for this problem


Modified: branches/rel-1/freevo/src/video/videoitem.py
==============================================================================
--- branches/rel-1/freevo/src/video/videoitem.py        (original)
+++ branches/rel-1/freevo/src/video/videoitem.py        Sun Jan 14 14:15:22 2007
@@ -223,7 +223,7 @@
 
             if self.info['runtime']:
                 length = self.info['runtime']
-                if not length:
+                if not length or length == 'None':
                     length = ''
                 if length.find('min') == -1:
                     length = '%s min' % length

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to