1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-09-28 22:15:23 +08:00

wrong way to start a thread

This commit is contained in:
Joel Bender 2016-09-08 23:41:21 -04:00
parent 574cd25e20
commit 0e8030caed

View File

@ -141,8 +141,8 @@ def main():
read_thread = ReadPointListThread(point_list)
if _debug: _log.debug(" - read_thread: %r", read_thread)
# get it running when the code is running
deferred(read_thread.run)
# start it running when the core is running
deferred(read_thread.start)
_log.debug("running")