summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
Diffstat (limited to 'portato')
-rw-r--r--portato/gui/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/gui/utils.py b/portato/gui/utils.py
index 151ec22..dc9b9f3 100644
--- a/portato/gui/utils.py
+++ b/portato/gui/utils.py
@@ -204,7 +204,7 @@ class Database (object):
else:
ninst = []
for pkg in self._db[cat]:
- if pkg[2]:
+ if pkg.inst:
yield pkg
else:
ninst.append(pkg)