1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 07:47:14 +03:00

Whitespace and keyring in requirements sync to develop

This commit is contained in:
Athanasius 2020-08-27 12:56:34 +01:00
parent 550207ab0c
commit c1d8a61c60
3 changed files with 3 additions and 1 deletions

View File

@ -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.

View File

@ -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

View File

@ -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