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:
parent
574cd25e20
commit
0e8030caed
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user