1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-06-05 18:03:17 +03:00

plugins/inara: return '' if can't otherwise make system_url

This commit is contained in:
Athanasius 2020-08-26 12:01:45 +01:00
parent bf9d7dff89
commit 8d6f761fb9

View File

@ -73,7 +73,7 @@ def system_url(system_name):
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: