diff options
author | bionel <ionel.busuioc@gmail.com> | 2017-09-23 23:11:05 +0300 |
---|---|---|
committer | bionel <ionel.busuioc@gmail.com> | 2017-09-23 23:11:05 +0300 |
commit | 4a11f7cfcdbc21a2315aad905969d8e115283056 (patch) | |
tree | e91d921212713d116e96f57f94ae2ac927bc79d1 | |
parent | 428317940772b6d132b6333d72bbeeb9393dbb67 (diff) |
follow ghiunhan naming convention .. for the moment
-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 691c072..231a0a2 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 |