From 4920315ad608f4cf1b06a12b9797f366ba5e95df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C5=BD=C3=A1=C4=8Dek?= Date: Wed, 17 Aug 2022 16:53:29 +0200 Subject: [PATCH] pretty done, first try --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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():