Skip to content

Commit

Permalink
Fixed setDaemon() deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ArisMorgens committed Feb 18, 2025
1 parent a43b253 commit edc4828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cfclient/utils/periodictimer.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def start(self):
logger.warning("Timer already started, not restarting")
return
self._thread = _PeriodicTimerThread(self._period, self._callbacks)
self._thread.setDaemon(True)
self._thread.daemon = True
self._thread.start()

def stop(self):
Expand Down

0 comments on commit edc4828

Please sign in to comment.