summaryrefslogtreecommitdiff
path: root/src/backend/searchPkg.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-30 14:31:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-10-30 14:31:44 +0000
commit129031c9155d03890ef66f00be1ab60f63327c35 (patch)
treea01810eae7ff87f1bc0836bf74ef9d921feb85e2 /src/backend/searchPkg.py
parent02b654dc089c570ce81ce5da0c2c48d5d21d3cb8 (diff)
move getFilesystem -> getfs
Diffstat (limited to 'src/backend/searchPkg.py')
-rw-r--r--src/backend/searchPkg.py4
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])