Updated example

This commit is contained in:
Mark Qvist 2023-11-04 17:56:20 +01:00
parent 4a69ce5a98
commit 1eea1a6a22
1 changed files with 1 additions and 2 deletions

View File

@ -449,8 +449,7 @@ def link_established(link):
# And set up a small job to check for
# a potential timeout in receiving the
# file list
thread = threading.Thread(target=filelist_timeout_job)
thread.setDaemon(True)
thread = threading.Thread(target=filelist_timeout_job, daemon=True)
thread.start()
# This job just sleeps for the specified