mirror of
https://github.com/9001/copyparty.git
synced 2026-02-26 05:23:10 -07:00
no racing
This commit is contained in:
parent
b4df8fa23c
commit
ba67b27946
|
|
@ -997,8 +997,8 @@ class HttpCli(object):
|
|||
|
||||
rt = bans[ip] - time.time()
|
||||
if rt < 0:
|
||||
self.log("client unbanned", 3)
|
||||
del bans[ip]
|
||||
self.log("client unbanned", 3)
|
||||
return False
|
||||
|
||||
self.log("banned for {:.0f} sec".format(rt), 6)
|
||||
|
|
|
|||
Loading…
Reference in a new issue