made signal router registration more clear
This commit is contained in:
parent
71bfac1b53
commit
07708d1454
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue