1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 01:22:19 +03:00

[2051] Add Default Fallback

This commit is contained in:
David Sangrey 2023-11-21 20:48:04 -05:00
parent 955d72ead2
commit 501e8da268
No known key found for this signature in database
GPG Key ID: 3AEADBB0186884BC

@ -1733,7 +1733,7 @@ class AppWindow:
def station_url(self, station: str) -> str | None:
"""Despatch a station URL to the configured handler."""
return plug.invoke(
config.get_str('station_provider'), 'EDSM', 'station_url',
config.get_str('station_provider', default='EDSM'), 'EDSM', 'station_url',
monitor.state['SystemName'], monitor.state['StationName']
)