mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-18 18:07:37 +03:00
plugins/edsm: Fix missing line of code
Bad paste or something, who knows ?
This commit is contained in:
parent
d3e74bba39
commit
b6f6365566
@ -85,7 +85,7 @@ def journal_entry(cmdr, is_beta, system, station, entry, state):
|
||||
# We need pop == 0 to set the value so as to clear 'x' in systems with
|
||||
# no stations.
|
||||
pop = entry.get('Population')
|
||||
if not pop is None:
|
||||
if pop is not None:
|
||||
this.system_population = pop
|
||||
|
||||
this.station = entry.get('StationName') or this.station
|
||||
|
@ -214,7 +214,8 @@ def journal_entry(cmdr, is_beta, system, station, entry, state):
|
||||
# We need pop == 0 to set the value so as to clear 'x' in systems with
|
||||
# no stations.
|
||||
pop = entry.get('Population')
|
||||
if not pop is None:
|
||||
if pop is not None:
|
||||
this.system_population = pop
|
||||
|
||||
this.station = entry.get('StationName') or this.station
|
||||
this.station_marketid = entry.get('MarketID') or this.station_marketid
|
||||
|
@ -230,7 +230,7 @@ def journal_entry(cmdr, is_beta, system, station, entry, state):
|
||||
# We need pop == 0 to set the value so as to clear 'x' in systems with
|
||||
# no stations.
|
||||
pop = entry.get('Population')
|
||||
if not pop is None:
|
||||
if pop is not None:
|
||||
this.system_population = pop
|
||||
|
||||
this.station = entry.get('StationName') or this.station
|
||||
|
Loading…
x
Reference in New Issue
Block a user