CC-3812 : Recorder needs to sleep using microseconds
This commit is contained in:
parent
2b55002532
commit
4165bf6289
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue