Explorar o código

Fix sort issue

Denis K %!s(int64=9) %!d(string=hai) anos
pai
achega
7238635105
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      jet/utils.py

+ 1 - 1
jet/utils.py

@@ -81,7 +81,7 @@ def get_app_list(context, order=True):
                     }
 
     # Sort the apps alphabetically.
-    app_list = app_dict.values()
+    app_list = list(app_dict.values())
 
     if order:
         app_list.sort(key=lambda x: x['name'].lower())