diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-09 20:04:59 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-09 20:04:59 +0000 |
commit | 3734eb8c40f2481b023fbbe741f646a5087e50e5 (patch) | |
tree | 95dcfa426ecdb17914ceaef7c9eb6dd24ce937e8 /src/backend/recoverdb.py | |
parent | 4dda01f43e00a2412ee05595cb4d3ec559594f28 (diff) |
remotePackagesCsv -> rmt_pcsv; remoteDescriptionsCsv -> rmt_dcsv; localPackagesCsv -> lcl_pcsv; localDatabase -> lcl_db
Diffstat (limited to 'src/backend/recoverdb.py')
-rw-r--r-- | src/backend/recoverdb.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/recoverdb.py b/src/backend/recoverdb.py index 6aff890..59675ad 100644 --- a/src/backend/recoverdb.py +++ b/src/backend/recoverdb.py @@ -8,14 +8,14 @@ import sisyphus.syncdb @animation.wait('recovering databases') def start(): - 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) + if os.path.exists(sisyphus.getfs.rmt_pcsv): + os.remove(sisyphus.getfs.rmt_pcsv) + if os.path.exists(sisyphus.getfs.rmt_dcsv): + os.remove(sisyphus.getfs.rmt_dcsv) + if os.path.exists(sisyphus.getfs.lcl_pcsv): + os.remove(sisyphus.getfs.lcl_pcsv) + if os.path.exists(sisyphus.getfs.lcl_db): + os.remove(sisyphus.getfs.lcl_db) sisyphus.syncdb.remoteTable() sisyphus.syncdb.localTable() |