summaryrefslogtreecommitdiff
path: root/src/backend/syncDatabase.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-26 14:05:06 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-26 14:05:06 +0100
commitcc6bdb0e4844ba2eb02688f85368c5c949cf0e62 (patch)
treef47bc2837bf1c7383193bda32c56718c3fe3a9c6 /src/backend/syncDatabase.py
parentdb3be7eb3ec5096e279e49bd87dd61c250635735 (diff)
fix variables in syncDatabase
Diffstat (limited to 'src/backend/syncDatabase.py')
-rw-r--r--src/backend/syncDatabase.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/syncDatabase.py b/src/backend/syncDatabase.py
index e70a75c..1823847 100644
--- a/src/backend/syncDatabase.py
+++ b/src/backend/syncDatabase.py
@@ -9,13 +9,13 @@ import sisyphus.getEnvironment
import sisyphus.getFilesystem
def remoteCSV():
- packagesCsvURL,descriptionCsvURL = sisyphus.getEnvironment.csvURL()
+ packagesCsvURL,descriptionsCsvURL = sisyphus.getEnvironment.csvURL()
http = urllib3.PoolManager()
- with http.request('GET', isPackageCsv, preload_content=False) as tmp_buffer, open(sisyphus.getFilesystem.remotePackagesCsv, 'wb') as output_file:
+ with http.request('GET', packagesCsvURL, preload_content=False) as tmp_buffer, open(sisyphus.getFilesystem.remotePackagesCsv, 'wb') as output_file:
shutil.copyfileobj(tmp_buffer, output_file)
- with http.request('GET', isDescriptionCsv, preload_content=False) as tmp_buffer, open(sisyphus.getFilesystem.remoteDescriptionsCsv, 'wb') as output_file:
+ with http.request('GET', descriptionsCsvURL, preload_content=False) as tmp_buffer, open(sisyphus.getFilesystem.remoteDescriptionsCsv, 'wb') as output_file:
shutil.copyfileobj(tmp_buffer, output_file)
def localCSV():