forked from openlp/openlp
Fix time for python 2.6
This commit is contained in:
parent
da927320c5
commit
6951ac1fb6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user