From c72f5dac54d4b8382a4d3891af07509ebe629f63 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 2 Feb 2021 22:44:34 +0000 Subject: minor changes --- src/backend/csvfiles.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/backend/csvfiles.py') diff --git a/src/backend/csvfiles.py b/src/backend/csvfiles.py index 0d2e895..503ee84 100644 --- a/src/backend/csvfiles.py +++ b/src/backend/csvfiles.py @@ -2,16 +2,16 @@ import sisyphus.binhost -def getURL(): - remotePackagesCsvURL = [] - remoteDescriptionsCsvURL = [] - binhostURL = sisyphus.binhost.getURL() +def start(): + isPackageCsv = [] + isDescriptionCsv = [] + isBinhost = sisyphus.binhost.start() - if "packages-next" in binhostURL: - remotePackagesCsvURL = binhostURL.replace('packages-next', 'csv-next') + 'remotePackagesPre.csv' - remoteDescriptionsCsvURL = binhostURL.replace('packages-next', 'csv-next') + 'remoteDescriptionsPre.csv' + if "packages-next" in isBinhost: + isPackageCsv = isBinhost.replace('packages-next', 'csv-next') + 'remotePackagesPre.csv' + isDescriptionCsv = isBinhost.replace('packages-next', 'csv-next') + 'remoteDescriptionsPre.csv' else: - remotePackagesCsvURL = binhostURL.replace('packages', 'csv') + 'remotePackagesPre.csv' - remoteDescriptionsCsvURL = binhostURL.replace('packages', 'csv') + 'remoteDescriptionsPre.csv' + isPackageCsv = isBinhost.replace('packages', 'csv') + 'remotePackagesPre.csv' + isDescriptionCsv = isBinhost.replace('packages', 'csv') + 'remoteDescriptionsPre.csv' - return remotePackagesCsvURL,remoteDescriptionsCsvURL + return isPackageCsv,isDescriptionCsv -- cgit v1.2.3