summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend')
-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():