mirror of
https://github.com/JoelBender/modpypes
synced 2025-10-26 21:49:19 +08:00
move the console, just to make it consistent with the other applications
This commit is contained in:
parent
b68907d9ad
commit
60678be99f
|
|
@ -295,12 +295,13 @@ def main():
|
||||||
this_controller = SieveClientController()
|
this_controller = SieveClientController()
|
||||||
if _debug: _log.debug(" - this_controller: %r", this_controller)
|
if _debug: _log.debug(" - this_controller: %r", this_controller)
|
||||||
|
|
||||||
this_console = ConsoleClient(this_controller)
|
|
||||||
if _debug: _log.debug(" - this_console: %r", this_console)
|
|
||||||
|
|
||||||
# local IO functions
|
# local IO functions
|
||||||
bind(this_controller, ModbusClient())
|
bind(this_controller, ModbusClient())
|
||||||
|
|
||||||
|
# if this is being run, then a console is handy
|
||||||
|
this_console = ConsoleClient(this_controller)
|
||||||
|
if _debug: _log.debug(" - this_console: %r", this_console)
|
||||||
|
|
||||||
_log.debug("running")
|
_log.debug("running")
|
||||||
|
|
||||||
run()
|
run()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user