diff options
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 |
commit | fdea77fd9347638409ac56948c87e7f61af8847c (patch) | |
tree | 43fc3285486bace07d3ce0588c8960328664c52a /ishtar_common/menus.py | |
parent | 8eebd435f302bacd6ad5a584cbed55919a55f4bf (diff) | |
download | Ishtar-fdea77fd9347638409ac56948c87e7f61af8847c.tar.bz2 Ishtar-fdea77fd9347638409ac56948c87e7f61af8847c.zip |
Typo fix
Diffstat (limited to 'ishtar_common/menus.py')
-rw-r--r-- | ishtar_common/menus.py | 6 |
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 ) |