diff --git a/plugins/eddb.py b/plugins/eddb.py index da7b8e75..c0ef35fc 100644 --- a/plugins/eddb.py +++ b/plugins/eddb.py @@ -56,6 +56,7 @@ def system_url(system_name: str) -> str: return '' + def station_url(system_name: str, station_name: str) -> str: if this.station_marketid: return requests.utils.requote_uri(f'https://eddb.io/station/market-id/{this.station_marketid}') @@ -75,6 +76,7 @@ def plugin_app(parent: 'Tk'): this.station_link = parent.children['station'] # station label in main window this.station_link.configure(popup_copy=lambda x: x != STATION_UNDOCKED) + def prefs_changed(cmdr, is_beta): # Do *NOT* set 'url' here, as it's set to a function that will call # through correctly. We don't want a static string. diff --git a/plugins/inara.py b/plugins/inara.py index fd9402e8..e78287d1 100644 --- a/plugins/inara.py +++ b/plugins/inara.py @@ -31,6 +31,7 @@ if TYPE_CHECKING: def _(x): return x + _TIMEOUT = 20 FAKE = ('CQC', 'Training', 'Destination') # Fake systems that shouldn't be sent to Inara CREDIT_RATIO = 1.05 # Update credits if they change by 5% over the course of a session diff --git a/requirements.txt b/requirements.txt index 5fa59d6a..bf29adc9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ certifi==2019.9.11 -keyring==19.2.0 requests>=2.11.1 watchdog>=0.8.3 # argh==0.26.2 watchdog dep