From 27c6ee68fb90f47bf7a5a94c6f0eefa09b6e53b9 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 4 Feb 2021 18:54:48 +0100 Subject: Typo fix --- ishtar_common/menus.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ishtar_common/menus.py') 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 ) -- cgit v1.2.3