Skip to content

Commit

Permalink
Merge pull request #2035 from EDCD/fix/2031/5.9.0-rc2
Browse files Browse the repository at this point in the history
#2031 Update Station URL Defaults
  • Loading branch information
C1701D committed Jul 26, 2023
2 parents 61df38b + 5258174 commit 6760a2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion EDMarketConnector.py
Original file line number Diff line number Diff line change
Expand Up @@ -1737,7 +1737,7 @@ def system_url(self, system: str) -> str | None:
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']
)

Expand Down
2 changes: 1 addition & 1 deletion prefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ def __setup_config_tab(self, notebook: ttk.Notebook) -> None: # noqa: CCR001
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
Expand Down

0 comments on commit 6760a2f

Please sign in to comment.