summaryrefslogtreecommitdiff
path: root/src/frontend/gui/sisyphus-gui.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-09-23 21:42:11 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-09-23 21:42:11 +0100
commiteae58edf21609562f2a5fe4d67dd47abdf20e800 (patch)
treee80d20ec930b294e3152295c8093f9be09c2fb00 /src/frontend/gui/sisyphus-gui.py
parente3267acaf3c7650caa7504c023aaebffe424269b (diff)
we have this variable defined in the backend, so use it
Diffstat (limited to 'src/frontend/gui/sisyphus-gui.py')
-rwxr-xr-xsrc/frontend/gui/sisyphus-gui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py
index 5f80d1d..7f41589 100755
--- a/src/frontend/gui/sisyphus-gui.py
+++ b/src/frontend/gui/sisyphus-gui.py
@@ -93,7 +93,7 @@ class Sisyphus(QtWidgets.QMainWindow):
self.loadDatabase()
def loadDatabase(self):
- with sqlite3.connect('/var/lib/sisyphus/db/sisyphus.db') as db:
+ with sqlite3.connect(sisyphus_database_path) as db:
cursor=db.cursor()
FILTEROUT = "'%" + "virtual" + "%'"
cursor.execute('''SELECT