diff --git a/main.py b/main.py index e58323c..2a40033 100644 --- a/main.py +++ b/main.py @@ -52,7 +52,7 @@ def merge(): reader = csv.DictReader(csvfile, delimiter=',') #next(reader) print("got into reader func") - with open(dirpath+'output_testmerge.csv', 'w', newline='', encoding="utf-8") as f: + with open('./help_files/output_testmerge.csv', 'w', newline='', encoding="utf-8") as f: writer = csv.writer(f) for row in reader: @@ -238,7 +238,7 @@ def addSerialNumbers(): def obtainIdFile(): print("Downloading config_parser file") - urllib.request.urlretrieve("http://certificates.princip.cz/config_parser.csv", "config_parser.csv") + urllib.request.urlretrieve("http://certificates.princip.cz/config_parser.csv", "./help_files/config_parser.csv") print("Done") def runBilling():