1
0
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:
Athanasius 2020-08-26 12:01:45 +01:00
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: