Explorar el Código

Fix sort issue

Denis K hace 9 años
padre
commit
7238635105
Se han modificado 1 ficheros con 1 adiciones y 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())