Skip to content

Commit

Permalink
remove unneeded csvreader_kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Jurgen Griesfeller committed Dec 15, 2023
1 parent 81086cd commit 11a4693
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ class AeronetSunTimeseriesReader(AutoFilterReaderEngine.AutoFilterReader):
def __init__(
self,
filename,
csvreader_kwargs={"delimiter": DELIMITER},
filters=[],
fill_country_flag: bool = FILL_COUNTRY_FLAG,
tqdm_desc: [str, None] = None,
Expand Down Expand Up @@ -110,7 +109,7 @@ def __init__(
self._fields = lines.pop(0).strip().split(",")

gcd = Geocoder_Reverse_NE()
crd = csv.DictReader(lines, fieldnames=self._fields, **csvreader_kwargs)
crd = csv.DictReader(lines, fieldnames=self._fields, delimiter=DELIMITER)
bar = tqdm(desc=tqdm_desc, total=len(lines))
for _ridx, row in enumerate(crd):
bar.update(1)
Expand Down

0 comments on commit 11a4693

Please sign in to comment.