Commit 62cfd7a58aa8f9d064fc6231aaa9383a3af35de9

Authored by Antoine Goutenoir
1 parent 2407976f
Exists in master

fix: decode() the input files

Thanks @Jan for the issue report and fix suggestion!
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
flaskr/controllers/main_controller.py
@@ -83,7 +83,7 @@ def gather_addresses(from_list, from_file): @@ -83,7 +83,7 @@ def gather_addresses(from_list, from_file):
83 addresses = [] 83 addresses = []
84 if from_file: 84 if from_file:
85 file_mimetype = from_file.mimetype 85 file_mimetype = from_file.mimetype
86 - file_contents = from_file.read() 86 + file_contents = from_file.read().decode()
87 87
88 rows_dicts = None 88 rows_dicts = None
89 89