Skip to content

Commit

Permalink
flake
Browse files Browse the repository at this point in the history
  • Loading branch information
kokes committed Dec 18, 2023
1 parent 98cd224 commit 29bc045
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions data/volby/main.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import csv
import functools
import io
import json
import logging
Expand Down Expand Up @@ -94,8 +93,8 @@ def process_url(outdir, partial, fnmap, url: str, volby: str, datum: str):
with load_remote_data(url) as zf:
# zpravidla (ale ne vzdy!) mame zdvojena data:
# 'csv/eprk.csv', 'csv/eprkl.csv', 'csv/eprkl_slozeni.csv', 'csv_od/eprk.csv',
# 'csv_od/eprk.json', 'csv_od/eprkl.csv', 'csv_od/eprkl.json', 'csv_od/eprkl_slozeni.csv',
# 'csv_od/eprkl_slozeni.json'
# 'csv_od/eprk.json', 'csv_od/eprkl.csv', 'csv_od/eprkl.json',
# 'csv_od/eprkl_slozeni.csv', 'csv_od/eprkl_slozeni.json'
# tak musime tuto situaci detekovat a deduplikovat
# bacha - csv_od jsou utf-8 s ',' delimitery, csv jsou cp1250 s ';' delimitery
filenames = [j.filename for j in zf.filelist]
Expand Down

0 comments on commit 29bc045

Please sign in to comment.