From 553c7980c13b741bb9587c8b768c22dccf379e56 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Sat, 27 Jun 2020 02:02:18 +0100 Subject: [PATCH] Change EDDB system_url() to using by-name URL This removes a use case for systems.p file --- plugins/eddb.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plugins/eddb.py b/plugins/eddb.py index 1f91b023..67d292b2 100644 --- a/plugins/eddb.py +++ b/plugins/eddb.py @@ -27,10 +27,7 @@ with open(join(config.respath, 'stations.p'), 'rb') as h: # Main window clicks def system_url(system_name): - if system_id(system_name): - return 'https://eddb.io/system/%d' % system_id(system_name) - else: - return None + return 'https://eddb.io/system/name/%s' % system_name def station_url(system_name, station_name): if station_id(system_name, station_name):