浏览代码

Fix sort issue

Denis K 9 年之前
父节点
当前提交
7238635105
共有 1 个文件被更改,包括 1 次插入1 次删除
  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())