Edited output / cleaned output for easier debugging.

This commit is contained in:
Justin Emter
2017-08-05 17:42:56 -07:00
parent 67a0b1b376
commit d1f0d2ad49
2 changed files with 16 additions and 8 deletions

View File

@@ -1083,9 +1083,11 @@ if __name__ == '__main__':
print "+++++ Sleeping for {} seconds before playing: '{}'".format(time_diff.total_seconds(), item[3])
sleep(time_diff.total_seconds())
print "Woke up!"
sleep(int(time_diff.total_seconds()))
if pseudo_channel.DEBUG:
print "+++++ Woke up!"
pseudo_channel.controller.play(item, schedulelist)