Author: duncan
Date: Sat Jan  6 21:46:13 2007
New Revision: 8941

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

Log:
[ 1629340 ] Runtime shows "min min" when runtime comes from imdb
Patch from Gorka Olaizola applied


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        Sat Jan  6 21:46:13 2007
@@ -224,7 +224,7 @@
                 length = self.info['runtime']
                 if not length:
                     length = ''
-                if length.find('min') > 0:
+                if length.find('min') == -1:
                     length = '%s min' % length
                 if length.find('/') > 0:
                     length = length[:length.find('/')].rstrip()

-------------------------------------------------------------------------
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