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:
parent
5131f82599
commit
5258174283
@ -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']
|
||||
)
|
||||
|
||||
|
2
prefs.py
2
prefs.py
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user