CC-3812 : Recorder needs to sleep using microseconds

This commit is contained in:
Naomi Aro 2012-05-11 18:50:56 +02:00
parent 2b55002532
commit 4165bf6289
1 changed files with 2 additions and 1 deletions

View File

@ -213,7 +213,8 @@ class Recorder(Thread):
next_show = getDateTimeObj(start_time)
delta = next_show - tnow
out = delta.seconds
s = '%s.%s' % (delta.seconds, delta.microseconds)
out = float(s)
if out < 5:
self.logger.debug("Shows %s", self.shows_to_record)