diff options
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: |