diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-30 14:26:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-30 14:26:52 +0000 |
commit | 02b654dc089c570ce81ce5da0c2c48d5d21d3cb8 (patch) | |
tree | 2a32a8634b59efc8b9f28ec8d8732cdd6b3b3414 /src/backend/syncDatabase.py | |
parent | 331cd284de1de5f7192e1588b836f89337326784 (diff) |
move getEnvironment -> getenv
Diffstat (limited to 'src/backend/syncDatabase.py')
-rw-r--r-- | src/backend/syncDatabase.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/syncDatabase.py b/src/backend/syncDatabase.py index 1823847..760e3b6 100644 --- a/src/backend/syncDatabase.py +++ b/src/backend/syncDatabase.py @@ -5,11 +5,11 @@ import shutil import urllib3 import sqlite3 import subprocess -import sisyphus.getEnvironment +import sisyphus.getenv import sisyphus.getFilesystem def remoteCSV(): - packagesCsvURL,descriptionsCsvURL = sisyphus.getEnvironment.csvURL() + packagesCsvURL,descriptionsCsvURL = sisyphus.getenv.csvURL() http = urllib3.PoolManager() with http.request('GET', packagesCsvURL, preload_content=False) as tmp_buffer, open(sisyphus.getFilesystem.remotePackagesCsv, 'wb') as output_file: |