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

This commit is contained in:
Athanasius committed 2020-08-27 11:28:41 +01:00
1 parent 113b6c427c
commit bd7a3eca04
1 file changed
+1 -1
+1 -1
View File
@@ -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: