From 129031c9155d03890ef66f00be1ab60f63327c35 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 30 Oct 2022 14:31:44 +0000 Subject: move getFilesystem -> getfs --- src/backend/searchPkg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/searchPkg.py') 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]) -- cgit v1.2.3