1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-11-19 14:00:10 +01:00
LibreTranslate/app/no_limiter.py

9 lines
156 B
Python
Raw Normal View History

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