diff options
Diffstat (limited to 'src/backend/searchPkg.py')
-rw-r--r-- | src/backend/searchPkg.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/searchPkg.py b/src/backend/searchPkg.py index 6773a7a..df62001 100644 --- a/src/backend/searchPkg.py +++ b/src/backend/searchPkg.py @@ -2,7 +2,7 @@ import sqlite3 import sisyphus.checkenv -import sisyphus.getFilesystem +import sisyphus.getfs import sisyphus.updateAll def searchDB(filter, cat = '', pn = '', desc = ''): @@ -90,7 +90,7 @@ def searchDB(filter, cat = '', pn = '', desc = ''): AND iv <> av''' } - with sqlite3.connect(sisyphus.getFilesystem.localDatabase) as db: + with sqlite3.connect(sisyphus.getfs.localDatabase) as db: db.row_factory = sqlite3.Row cursor = db.cursor() cursor.execute(SELECTS[filter]) |