made signal router registration more clear

This commit is contained in:
Noah Swerhun 2023-03-15 20:45:33 -05:00
parent 71bfac1b53
commit 07708d1454

View file

@ -17,7 +17,7 @@ def main():
module = Module(module_config, padding, bar)
bar.add_module(module)
module.start_thread()
if module.signal:
if module.signal != 0:
signal_router.register_signal_thread(module.signal, module.ident)