Fix time for python 2.6

This commit is contained in:
Tim Bentley 2011-03-18 18:19:07 +00:00
parent da927320c5
commit 6951ac1fb6

View File

@ -145,7 +145,7 @@ class MediaMediaItem(MediaManagerItem):
Receiver.send_message(u'openlp_process_events')
end = datetime.now()
tme = end - start
if tme.total_seconds() > 5:
if tme.seconds > 5:
break
if self.mediaState:
service_item.media_length = self.mediaLength