Author: duncan
Date: Tue Jan 9 17:43:50 2007
New Revision: 8954
Modified:
branches/rel-1/freevo/src/helpers/recordserver.py
Log:
[ 1631474 ] Recordingserver issue
Fix for when the times are float strings and not integer strings
Modified: branches/rel-1/freevo/src/helpers/recordserver.py
==============================================================================
--- branches/rel-1/freevo/src/helpers/recordserver.py (original)
+++ branches/rel-1/freevo/src/helpers/recordserver.py Tue Jan 9 17:43:50 2007
@@ -123,7 +123,7 @@
t1 = first.split(':')[-1]
t2 = second.split(':')[-1]
try:
- return int(t1) - int(t2)
+ return int(float(t1)) - int(float(t2))
except ArithmeticError:
pass
return 0
-------------------------------------------------------------------------
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