summaryrefslogtreecommitdiff
path: root/src/backend/syncdb.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-09 19:17:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-09 19:17:12 +0000
commitdeb8ac70d86bcbf8ad56ed1b058289775768705a (patch)
treec5231bb106646edbd7c52ae826304355a3242371 /src/backend/syncdb.py
parent20926570fb803ac895c0f8c9ebfcdbcbee2aba3f (diff)
csvURL -> csvaddr
Diffstat (limited to 'src/backend/syncdb.py')
-rw-r--r--src/backend/syncdb.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/syncdb.py b/src/backend/syncdb.py
index 2dee634..8ada61e 100644
--- a/src/backend/syncdb.py
+++ b/src/backend/syncdb.py
@@ -10,13 +10,13 @@ import sisyphus.getfs
def remoteCSV():
- packagesCsvURL, descriptionsCsvURL = sisyphus.getenv.csvURL()
+ pcsvaddr, dcsvaddr = sisyphus.getenv.csvaddr()
http = urllib3.PoolManager()
- with http.request('GET', packagesCsvURL, preload_content=False) as tmp_buffer, open(sisyphus.getfs.remotePackagesCsv, 'wb') as output_file:
+ with http.request('GET', pcsvaddr, preload_content=False) as tmp_buffer, open(sisyphus.getfs.remotePackagesCsv, 'wb') as output_file:
shutil.copyfileobj(tmp_buffer, output_file)
- with http.request('GET', descriptionsCsvURL, preload_content=False) as tmp_buffer, open(sisyphus.getfs.remoteDescriptionsCsv, 'wb') as output_file:
+ with http.request('GET', dcsvaddr, preload_content=False) as tmp_buffer, open(sisyphus.getfs.remoteDescriptionsCsv, 'wb') as output_file:
shutil.copyfileobj(tmp_buffer, output_file)