mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-05-14 22:13:02 +00:00
cleanup: Whitespaces and imports
- Remove unnecessary import - Reorder imports - Fix whitespace issues
This commit is contained in:
parent
933c96914b
commit
2ddb415bba
6 changed files with 15 additions and 7 deletions
|
@ -22,6 +22,7 @@ def forgive_banned():
|
|||
for ip in clear_list:
|
||||
del banned[ip]
|
||||
|
||||
|
||||
def setup(violations_threshold=100):
|
||||
global active
|
||||
global threshold
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue