diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-09-23 21:13:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-09-23 21:13:48 +0100 |
commit | e3267acaf3c7650caa7504c023aaebffe424269b (patch) | |
tree | c92b32e9fbb6ce43b78e19f40dfea3592d54385c /src/frontend | |
parent | 65cc117b5b0e326aa6264756ce8dcf57528ae585 (diff) | |
parent | 4a11f7cfcdbc21a2315aad905969d8e115283056 (diff) |
Merge branch 'master' of gitlab.com:redcore/sisyphus
Diffstat (limited to 'src/frontend')
-rwxr-xr-x | src/frontend/gui/sisyphus-gui.py | 4 |
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 |