Skip to content

Commit

Permalink
Lowercase the file name
Browse files Browse the repository at this point in the history
Toward #114.
  • Loading branch information
waldoj committed Oct 31, 2016
1 parent 7aa18ae commit 50b16b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crump
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ def main():
db = sqlite3.connect('addresses.db')
cursor = db.cursor()

# We want the data file name as a lowercase string now.
data_file = data_file.lower()

# Retrieve the correct field map and set up the file.
current_map = field_maps[file_number]["map"]
current_name = field_maps[file_number]["name"]
Expand Down

0 comments on commit 50b16b5

Please sign in to comment.