diff options
author | sebres <serg.brester@sebres.de> | 2022-08-17 16:01:04 +0200 |
---|---|---|
committer | sebres <serg.brester@sebres.de> | 2022-08-17 16:01:04 +0200 |
commit | 38026e59631fc1e1941a471941134e34ff253a81 (patch) | |
tree | d9185ab4dd900b5f3e7172eb34a8239f22f77e39 /fail2ban | |
parent | 535a982dccfb5e05f8fa0f3965e5bf454716179d (diff) | |
download | fail2ban-38026e59631fc1e1941a471941134e34ff253a81.tar.gz |
code review (replace deprecated setter, since python 3.10)
Diffstat (limited to 'fail2ban')
-rwxr-xr-x | fail2ban/client/fail2banclient.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fail2ban/client/fail2banclient.py b/fail2ban/client/fail2banclient.py index 6ea18fda..c72208cd 100755 --- a/fail2ban/client/fail2banclient.py +++ b/fail2ban/client/fail2banclient.py @@ -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) |