Skip to content

Commit

Permalink
fix: setDaemon is deprecated in python 3.10 (#563)
Browse files Browse the repository at this point in the history
Setting the python property is supported python 2.6+
  • Loading branch information
timgates42 authored Nov 22, 2021
1 parent 731e7e0 commit 27adf10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plumbum/commands/processes.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def _timeout_thread_func():


bgthd = Thread(target=_timeout_thread_func, name="PlumbumTimeoutThread")
bgthd.setDaemon(True)
bgthd.daemon = True
bgthd.start()


Expand Down

0 comments on commit 27adf10

Please sign in to comment.