1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 15:57:14 +03:00

Link to stations tab if undocked

This commit is contained in:
Jonathan Harris 2018-04-04 19:43:45 +01:00
parent 3a3827f168
commit d62dae3f98

View File

@ -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