diff --git a/clean_input_csv.py b/clean_input_csv.py index c962539..152a601 100755 --- a/clean_input_csv.py +++ b/clean_input_csv.py @@ -106,8 +106,7 @@ stage3 = "InputFile-pycleaned.csv" ## i.e., (1.01) -> -1.01 (1,000.00) -> -1000.00 -with open(stage2) as fin, open(stage3, 'w', newline='') as fout: - +with open(stage2) as fin, open(stage3, 'w') as fout: rdr = csv.reader(fin, quoting=csv.QUOTE_ALL) wtr = csv.writer(fout) @@ -158,4 +157,4 @@ with open(stage2) as fin, open(stage3, 'w', newline='') as fout: os.remove(stage1) os.remove(stage2) -print("Input file ready") \ No newline at end of file +print("Input file ready")