1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-16 09:10:35 +03:00

Merge pull request #2035 from EDCD/fix/2031/5.9.0-rc2

#2031 Update Station URL Defaults
This commit is contained in:
Phoebe 2023-07-26 22:24:53 +02:00 committed by GitHub
commit 6760a2f8fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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