Skip to content

Commit c3faf1f

Browse files
committed
Set encoding to please Windows
1 parent b283410 commit c3faf1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/cities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
for min_population in [500, 1000, 5000, 15000]:
99
cities = {}
1010
slug = f'cities{min_population}'
11-
reader = csv.reader(p_data.joinpath(slug + '.txt').open(), 'excel-tab')
11+
reader = csv.reader(p_data.joinpath(slug + '.txt').open(encoding='utf-8'), 'excel-tab')
1212

1313
for record in reader:
1414
(

0 commit comments

Comments
 (0)