code review (replace deprecated setter, since python 3.10)

0.10
sebres 2022-08-17 16:01:04 +02:00
parent 535a982dcc
commit 38026e5963
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ class Fail2banClient(Fail2banCmdLine, Thread):
th.daemon = True
th.start()
# Mark current (main) thread as daemon:
self.setDaemon(True)
self.daemon = True
# Start server direct here in main thread (not fork):
self._server = Fail2banServer.startServerDirect(self._conf, False)