#2031 Update Station URL Defaults

This commit is contained in:
David Sangrey committed 2023-07-24 16:29:39 -04:00
1 parent 5131f82599
commit 5258174283
2 files changed
+2 -2

No files matched your search

+1 -1
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']
)
+1 -1
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