diff --git a/nvchecker/get_version.py b/nvchecker/get_version.py index 9e4affc..7824790 100644 --- a/nvchecker/get_version.py +++ b/nvchecker/get_version.py @@ -41,7 +41,8 @@ def substitute_version(version, name, conf): _cache = {} async def get_version(name, conf, **kwargs): - cache_key = tuple(sorted(conf.items())) + cache_key = sorted(conf.items()) + sorted(kwargs.items()) + cache_key = tuple(cache_key) if cache_key in _cache: return _cache[cache_key]