mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-21 11:27:38 +03:00
plugins/inara: return ''
if can't otherwise make system_url
This commit is contained in:
parent
113b6c427c
commit
bd7a3eca04
@ -131,7 +131,7 @@ def system_url(system_name: str):
|
||||
elif system_name:
|
||||
return requests.utils.requote_uri(f'https://inara.cz/galaxy-starsystem/?search={system_name}')
|
||||
|
||||
return this.system
|
||||
return ''
|
||||
|
||||
def station_url(system_name, station_name):
|
||||
if system_name and station_name:
|
||||
|
Loading…
x
Reference in New Issue
Block a user