From 5f4ef37ed32a7b8b23b91dc7f34e309901310264 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Sun, 1 Jan 2023 13:22:01 -0500 Subject: [PATCH] Fix limiter mock class --- libretranslate/no_limiter.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libretranslate/no_limiter.py b/libretranslate/no_limiter.py index e8d6b6b..2715195 100644 --- a/libretranslate/no_limiter.py +++ b/libretranslate/no_limiter.py @@ -8,3 +8,6 @@ class Limiter: return f(*args, **kwargs) return wrapper + + def init_app(self, app): + pass