Trying new commercial logic to try and fill up the gap.

This commit is contained in:
Justin Emter
2017-10-03 15:49:44 -07:00
parent 59a672760e
commit d8da86f126
2 changed files with 67 additions and 6 deletions

View File

@@ -720,10 +720,13 @@ if __name__ == '__main__':
if args.xml:
pseudo_channel.update_schedule()
if args.generate_schedule:
try:
if pseudo_channel.DEBUG:
pseudo_channel.generate_daily_schedule()
except:
print("----- Recieved error when running generate_daily_schedule()")
else:
try:
pseudo_channel.generate_daily_schedule()
except:
print("----- Recieved error when running generate_daily_schedule()")
if args.show_clients:
pseudo_channel.show_clients()
if args.show_schedule: