mirror of
https://github.com/9001/copyparty.git
synced 2026-02-26 13:33:09 -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()
|
rt = bans[ip] - time.time()
|
||||||
if rt < 0:
|
if rt < 0:
|
||||||
self.log("client unbanned", 3)
|
|
||||||
del bans[ip]
|
del bans[ip]
|
||||||
|
self.log("client unbanned", 3)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
self.log("banned for {:.0f} sec".format(rt), 6)
|
self.log("banned for {:.0f} sec".format(rt), 6)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue