pretty done, first try

This commit is contained in:
2022-08-17 16:53:29 +02:00
parent 9a71044bb5
commit 4920315ad6

View File

@@ -52,7 +52,7 @@ def merge():
reader = csv.DictReader(csvfile, delimiter=',') reader = csv.DictReader(csvfile, delimiter=',')
#next(reader) #next(reader)
print("got into reader func") 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) writer = csv.writer(f)
for row in reader: for row in reader:
@@ -238,7 +238,7 @@ def addSerialNumbers():
def obtainIdFile(): def obtainIdFile():
print("Downloading config_parser file") 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") print("Done")
def runBilling(): def runBilling():