mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-21 23:41:01 +00:00
13 lines
235 B
Python
13 lines
235 B
Python
from functools import wraps
|
|
|
|
|
|
class Limiter:
|
|
def exempt(self, f):
|
|
@wraps(f)
|
|
def wrapper(*args, **kwargs):
|
|
return f(*args, **kwargs)
|
|
|
|
return wrapper
|
|
|
|
def init_app(self, app):
|
|
pass
|