Fix StartUp event

Bug introduced in 1636148
This commit is contained in:
Jonathan Harris committed 2018-01-30 23:07:14 +00:00
1 parent 1636148fe0
commit 7b8afa4f4a
1 file changed
+2 -2
+2 -2
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