1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-06-12 13:22:54 +03:00

Fix StartUp event

Bug introduced in 1636148
This commit is contained in:
Jonathan Harris 2018-01-30 23:07:14 +00:00
parent 1636148fe0
commit 7b8afa4f4a

View File

@ -230,8 +230,8 @@ class EDLogs(FileSystemEventHandler):
('StarSystem', self.system), ('StarSystem', self.system),
('StarPos', self.coordinates), ('StarPos', self.coordinates),
]) ])
if self.body: if self.planet:
entry['Body'] = self.body entry['Body'] = self.planet
entry['Docked'] = bool(self.station) entry['Docked'] = bool(self.station)
if self.station: if self.station:
entry['StationName'] = self.station entry['StationName'] = self.station