1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-22 20:00:29 +03:00

fixed station link logic

This commit is contained in:
A_D 2020-07-29 17:15:17 +02:00
parent e74c5c8ceb
commit a699ab062d
No known key found for this signature in database
GPG Key ID: 4BE9EB7DF45076C4

View File

@ -958,8 +958,8 @@ def journal_entry(cmdr: str, is_beta: bool, system: str, station: str, entry: Di
if config.get('station_provider') == 'Inara':
to_set = this.station
if not to_set and this.system_population is not None:
if this.system_population > 0:
if not to_set:
if this.system_population is not None and this.system_population > 0:
to_set = STATION_UNDOCKED
else:
to_set = ''