Skip to content

Commit

Permalink
refactor: simplify main loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Sieboldianus committed Jul 12, 2019
1 parent c421f7b commit 6b3912f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lbsntransform/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ def main():

# read and process unfiltered input records from csv
# start settings
with input_data as records_list:
for lbsn_record in records_list:
lbsntransform.add_processed_records(lbsn_record)
with input_data as records:
for record in records:
lbsntransform.add_processed_records(record)
# report progress
if lbsntransform.processed_total % 1000 == 0:
print(
Expand Down

0 comments on commit 6b3912f

Please sign in to comment.