summaryrefslogtreecommitdiff
path: root/portato/gui/gui_helper.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/gui/gui_helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/gui/gui_helper.py b/portato/gui/gui_helper.py
index fb531d7..ef7a508 100644
--- a/portato/gui/gui_helper.py
+++ b/portato/gui/gui_helper.py
@@ -206,7 +206,7 @@ class Database:
self._db[cat].append((pkg, p in installed))
for key in self._db: # sort alphabetically
- self._db[key].sort(cmp=cmp, key=lambda x: str.lower(x[0]))
+ self._db[key].sort(cmp=cmp, key=lambda x: x[0].lower())
def get_cat (self, cat, byName = True):
"""Returns the packages in the category.