Commit 7df8bc39d9ecdeb42573593954878921728d7f1e

Authored by Antoine Goutenoir
1 parent e6a40685
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 83 addresses = []
84 84 if from_file:
85 85 file_mimetype = from_file.mimetype
86   - file_contents = from_file.read()
  86 + file_contents = from_file.read().decode()
87 87  
88 88 rows_dicts = None
89 89  
... ...