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:
parent
955d72ead2
commit
501e8da268
@ -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']
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user