diff options
Diffstat (limited to 'ishtar_common/utils.py')
| -rw-r--r-- | ishtar_common/utils.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/ishtar_common/utils.py b/ishtar_common/utils.py index 92059c195..d55687cd7 100644 --- a/ishtar_common/utils.py +++ b/ishtar_common/utils.py @@ -687,7 +687,7 @@ def get_cache(cls, extra_args=tuple(), app_label=None):      if len(cache_key) >= 250:          # nosec: used for a cache key no consequence if predictable          m = hashlib.md5()  # nosec -        m.update(cache_key) +        m.update(cache_key.encode("utf-8"))          cache_key = m.hexdigest()      return cache_key, cache.get(cache_key) | 
