summaryrefslogtreecommitdiff
path: root/ishtar_common/management/commands/import_geofla_csv.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/management/commands/import_geofla_csv.py')
-rw-r--r--ishtar_common/management/commands/import_geofla_csv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/management/commands/import_geofla_csv.py b/ishtar_common/management/commands/import_geofla_csv.py
index 3b756381d..9b53c8a70 100644
--- a/ishtar_common/management/commands/import_geofla_csv.py
+++ b/ishtar_common/management/commands/import_geofla_csv.py
@@ -68,7 +68,7 @@ class Command(BaseCommand):
default_year))
sys.stdout.write('* Opening file {}\n'.format(csv_file))
nb_created, nb_changed = 0, 0
- with open(csv_file, 'rb') as csvfile:
+ with open(csv_file, 'rt') as csvfile:
reader = csv.DictReader(csvfile)
for idx, row in enumerate(reader):
if not quiet: