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/recoverDatabase.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/backend/recoverDatabase.py') diff --git a/src/backend/recoverDatabase.py b/src/backend/recoverDatabase.py index 2594c72..c429340 100644 --- a/src/backend/recoverDatabase.py +++ b/src/backend/recoverDatabase.py @@ -2,19 +2,19 @@ import animation import os -import sisyphus.getFilesystem +import sisyphus.getfs import sisyphus.syncDatabase @animation.wait('recovering databases') def cliExec(): - if os.path.exists(sisyphus.getFilesystem.remotePackagesCsv): - os.remove(sisyphus.getFilesystem.remotePackagesCsv) - if os.path.exists(sisyphus.getFilesystem.remoteDescriptionsCsv): - os.remove(sisyphus.getFilesystem.remoteDescriptionsCsv) - if os.path.exists(sisyphus.getFilesystem.localPackagesCsv): - os.remove(sisyphus.getFilesystem.localPackagesCsv) - if os.path.exists(sisyphus.getFilesystem.localDatabase): - os.remove(sisyphus.getFilesystem.localDatabase) + if os.path.exists(sisyphus.getfs.remotePackagesCsv): + os.remove(sisyphus.getfs.remotePackagesCsv) + if os.path.exists(sisyphus.getfs.remoteDescriptionsCsv): + os.remove(sisyphus.getfs.remoteDescriptionsCsv) + if os.path.exists(sisyphus.getfs.localPackagesCsv): + os.remove(sisyphus.getfs.localPackagesCsv) + if os.path.exists(sisyphus.getfs.localDatabase): + os.remove(sisyphus.getfs.localDatabase) sisyphus.syncDatabase.remoteTable() sisyphus.syncDatabase.localTable() -- cgit v1.2.3