1
0
mirror of https://github.com/JoelBender/modpypes synced 2025-10-19 22:08:20 +08:00

move the console, just to make it consistent with the other applications

This commit is contained in:
Joel Bender 2016-10-17 10:43:11 -04:00
parent b68907d9ad
commit 60678be99f

View File

@ -295,12 +295,13 @@ def main():
this_controller = SieveClientController()
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
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")
run()