Skip to content

Commit

Permalink
FIA script shouldn't remove quotes from fields, as this causes ambigu…
Browse files Browse the repository at this point in the history
…ity in some text fields with commas.
  • Loading branch information
bendmorris committed Apr 5, 2012
1 parent 70cb877 commit 9481c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/fia.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def download(self, engine=None, debug=False):
values = line.split(',')
this_year = values[year_column]
if int(this_year) >= year:
prep_file.write(line.replace('"', ''))
prep_file.write(line)
prep_file.close()
engine.auto_create_table(Table(table), filename=prep_file_name)

Expand Down

0 comments on commit 9481c69

Please sign in to comment.