Skip to content

Commit

Permalink
Optimization and fixing smaller issues
Browse files Browse the repository at this point in the history
  • Loading branch information
plumped committed May 13, 2023
1 parent 579fa87 commit d80ce19
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/xmlparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@

def create_csv(headers):
# Iterate over all IBANs and their entries
print("CREATECSV")
for iban, entries in ibanList.items():
print(iban)
# Create a CSV file with the name of the IBAN
allFiles.append(iban)
with open(f'./downloads/{iban}.csv', 'w', newline='', encoding='utf-8') as f:
Expand Down Expand Up @@ -62,7 +60,6 @@ def make_archive():
# Recreate the uploads and downloads folders
os.makedirs('./uploads')
os.makedirs('./downloads')
print("-------------------------------------")


def get_all_tags():
Expand Down Expand Up @@ -116,4 +113,4 @@ def parse_xml_files():
ibanList[x].append(tag_entries)
zf.close()
create_csv(alltags)
make_archive()
make_archive()

0 comments on commit d80ce19

Please # to comment.