1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-19 02:17:38 +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 412dad86a7
commit 669f895ffa

View File

@ -294,7 +294,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()