summaryrefslogtreecommitdiff
path: root/ishtar_common/menus.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-04 18:54:48 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-28 12:15:24 +0100
commit27c6ee68fb90f47bf7a5a94c6f0eefa09b6e53b9 (patch)
tree43fc3285486bace07d3ce0588c8960328664c52a /ishtar_common/menus.py
parentb465079492db9d1b5072468e093f7843abb0c5ca (diff)
downloadIshtar-27c6ee68fb90f47bf7a5a94c6f0eefa09b6e53b9.tar.bz2
Ishtar-27c6ee68fb90f47bf7a5a94c6f0eefa09b6e53b9.zip
Typo fix
Diffstat (limited to 'ishtar_common/menus.py')
-rw-r--r--ishtar_common/menus.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ishtar_common/menus.py b/ishtar_common/menus.py
index 0f0ed6d29..770990a5e 100644
--- a/ishtar_common/menus.py
+++ b/ishtar_common/menus.py
@@ -80,7 +80,7 @@ class Menu:
"""
Force cache deletion and reinitialization of menu for all
"""
- lst_cache_key = u"{}-{}".format(
+ lst_cache_key = "{}-{}".format(
settings.PROJECT_SLUG, 'menu_updated_list',
)
lst_ids = cache.get(lst_cache_key)
@@ -93,7 +93,7 @@ class Menu:
"""
Stock updated information in cache
"""
- lst_cache_key = u"{}-{}".format(
+ lst_cache_key = "{}-{}".format(
settings.PROJECT_SLUG, 'menu_updated_list',
)
lst_ids = cache.get(lst_cache_key)
@@ -120,7 +120,7 @@ class Menu:
self.user = User.objects.get(pk=user_id)
except User.DoesNotExist:
return
- cache_key = u"{}-{}-{}".format(
+ cache_key = "{}-{}-{}".format(
settings.PROJECT_SLUG, 'menu_updated',
user_id
)