|
|
|
@ -162,7 +162,6 @@ class Table: |
|
|
|
class CTABUSNotifictaionManager(NotificationManager): |
|
|
|
def on_done(self): |
|
|
|
EXIT.set() |
|
|
|
quit(0) |
|
|
|
|
|
|
|
|
|
|
|
def gen_list(objs, data, *displays, key=None, sort=0, num_pic=True): |
|
|
|
@ -305,6 +304,8 @@ def _main_periodic(args, stop_id, init_data): |
|
|
|
print("Error fetching times") |
|
|
|
if e < args.periodic: |
|
|
|
EXIT.wait(args.periodic - e) |
|
|
|
if EXIT.is_set(): |
|
|
|
quit(0) |
|
|
|
except KeyboardInterrupt: |
|
|
|
_done = True |
|
|
|
|
|
|
|
|