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

plugins/edsm: Set system_link based on system_provider, not station_provider

This commit is contained in:
Athanasius 2020-08-25 13:37:26 +01:00
parent c0ff2ff612
commit f75d8c9c9c

View File

@ -295,7 +295,7 @@ def cmdr_data(data, is_beta):
this.station = this.station or data['commander']['docked'] and data['lastStarport']['name']
# TODO: Fire off the EDSM API call to trigger the callback for the icons
if config.get('station_provider') == 'EDSM':
if config.get('system_provider') == 'EDSM':
this.system_link['text'] = this.system
this.system_link['url'] = system_url(this.system)
this.system_link.update_idletasks()