From d62dae3f985e0272717e453da87b109b50c88005 Mon Sep 17 00:00:00 2001 From: Jonathan Harris Date: Wed, 4 Apr 2018 19:43:45 +0100 Subject: [PATCH] Link to stations tab if undocked --- plugins/edsm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/edsm.py b/plugins/edsm.py index 20236305..94b97130 100644 --- a/plugins/edsm.py +++ b/plugins/edsm.py @@ -50,7 +50,8 @@ def station_url(system_name, station_name): if station_name: return 'https://www.edsm.net/en/system?systemName=%s&stationName=%s' % (urllib2.quote(system_name), urllib2.quote(station_name)) else: - return system_url(system_name) + return 'https://www.edsm.net/en/system?systemName=%s&stationName=ALL' % urllib2.quote(system_name) + def plugin_start(): # Can't be earlier since can only call PhotoImage after window is created