mirror of
https://github.com/9001/copyparty.git
synced 2026-02-20 09:19:58 +10:00
no racing
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user