1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-14 00:07:14 +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),
('StarPos', self.coordinates),
])
if self.body:
entry['Body'] = self.body
if self.planet:
entry['Body'] = self.planet
entry['Docked'] = bool(self.station)
if self.station:
entry['StationName'] = self.station