summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/frontend/gui/sisyphus-gui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py
index 0238e55..5f80d1d 100755
--- a/src/frontend/gui/sisyphus-gui.py
+++ b/src/frontend/gui/sisyphus-gui.py
@@ -95,7 +95,7 @@ class Sisyphus(QtWidgets.QMainWindow):
def loadDatabase(self):
with sqlite3.connect('/var/lib/sisyphus/db/sisyphus.db') as db:
cursor=db.cursor()
- filterOut = "'%" + "virtual" + "%'"
+ FILTEROUT = "'%" + "virtual" + "%'"
cursor.execute('''SELECT
a.category AS cat,
a.name AS pn,
@@ -109,7 +109,7 @@ class Sisyphus(QtWidgets.QMainWindow):
AND a.slot = i.slot
WHERE %s LIKE %s %s
AND cat NOT LIKE %s
- ''' % (Sisyphus.SEARCHFIELD, Sisyphus.SEARCHTERM, Sisyphus.SEARCHFILTER, filterOut))
+ ''' % (Sisyphus.SEARCHFIELD, Sisyphus.SEARCHTERM, Sisyphus.SEARCHFILTER, FILTEROUT))
rows = cursor.fetchall()
Sisyphus.PKGCOUNT = len(rows)
Sisyphus.PKGSELECTED = 0