diff --git a/eddb.py b/eddb.py index bf3e81fa..2d617eb2 100755 --- a/eddb.py +++ b/eddb.py @@ -107,7 +107,7 @@ if __name__ == "__main__": # station_id by (system_id, station_name) stations = json.loads(download('stations.json').content) # let json do the utf-8 decode station_ids = { - (x['system_id'], str(x['name'])) : x['id'] + (x['system_id'], x['name'].encode('utf-8')) : x['id'] # Pilgrim's Ruin in HR 3005 id 70972 has U+2019 quote for x in stations if x['max_landing_pad_size'] } diff --git a/stations.p b/stations.p index 8c6b8295..5de284db 100644 Binary files a/stations.p and b/stations.p differ diff --git a/systems.p b/systems.p index f08e6227..57e5cc98 100644 Binary files a/systems.p and b/systems.p differ