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

#2031 Update Station URL Defaults

This commit is contained in:
David Sangrey 2023-07-24 16:29:39 -04:00
parent 5131f82599
commit 5258174283
No known key found for this signature in database
GPG Key ID: 3AEADBB0186884BC
2 changed files with 2 additions and 2 deletions

View File

@ -1737,7 +1737,7 @@ class AppWindow(object):
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'), 'EDSM', 'station_url',
monitor.state['SystemName'], monitor.state['StationName']
)

View File

@ -625,7 +625,7 @@ class PreferencesDialog(tk.Toplevel):
with row as cur_row:
station_provider = config.get_str('station_provider')
self.station_provider = tk.StringVar(
value=str(station_provider if station_provider in plug.provides('station_url') else 'edsm')
value=str(station_provider if station_provider in plug.provides('station_url') else 'EDSM')
)
# LANG: Configuration - Label for selection of 'Station' provider website