diff --git a/lib/core/decorators.py b/lib/core/decorators.py index f06185628..1f5c31e13 100755 --- a/lib/core/decorators.py +++ b/lib/core/decorators.py @@ -33,7 +33,7 @@ def with_caching(*args, **kwargs): key = id(func) for arg in args: key += id(arg) - for k, v in kwargs: + for k, v in kwargs.items(): key += id(k) + id(v) # If it was cached and the cache timeout hasn't been reached