LibreTranslate/app/no_limiter.py
2021-05-18 09:11:02 +05:30

10 lines
188 B
Python

from functools import wraps
class Limiter:
def exempt(self, f):
@wraps(f)
def wrapper(*args, **kwargs):
return f(*args, **kwargs)
return wrapper