From eae58edf21609562f2a5fe4d67dd47abdf20e800 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 23 Sep 2017 21:42:11 +0100 Subject: we have this variable defined in the backend, so use it --- src/frontend/gui/sisyphus-gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3