diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-09-23 21:42:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-09-23 21:42:11 +0100 |
commit | eae58edf21609562f2a5fe4d67dd47abdf20e800 (patch) | |
tree | e80d20ec930b294e3152295c8093f9be09c2fb00 /src | |
parent | e3267acaf3c7650caa7504c023aaebffe424269b (diff) |
we have this variable defined in the backend, so use it
Diffstat (limited to 'src')
-rwxr-xr-x | src/frontend/gui/sisyphus-gui.py | 2 |
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 |