LibreTranslate/app/no_limiter.py

11 lines
188 B
Python
Raw Normal View History

2021-02-26 14:58:29 +00:00
from functools import wraps
2021-05-18 03:41:02 +00:00
2021-02-26 14:58:29 +00:00
class Limiter:
2021-05-18 03:41:02 +00:00
def exempt(self, f):
@wraps(f)
def wrapper(*args, **kwargs):
return f(*args, **kwargs)
return wrapper