]> git.ipfire.org Git - ipfire.org.git/commitdiff
cache: Fix botched argument list on get command
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 25 Oct 2023 15:00:14 +0000 (15:00 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 25 Oct 2023 15:00:14 +0000 (15:00 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/backend/cache.py

index 40da2ac27e36dd0fad601b9f993d42f1bed28c61..4aaaee95f588f22ac4c3b66cf5c1d6e49cb8d275 100644 (file)
@@ -79,7 +79,7 @@ class Cache(object):
                # Call the function
                return await func(*args, **kwargs)
 
-       async def get(self, key):
+       async def get(self, *args, **kwargs):
                """
                        Fetches the value of a cached key
                """