From 68f0d10967c08c59bde3b6f7bc05eb33e44a1cad Mon Sep 17 00:00:00 2001 From: Jonathan Harris <jonathan@marginal.org.uk> Date: Wed, 16 Aug 2017 08:36:35 +0100 Subject: [PATCH] Synthesise default paintjob name to send to EDSM --- monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor.py b/monitor.py index 51bb0cce..8304b27d 100644 --- a/monitor.py +++ b/monitor.py @@ -372,7 +372,7 @@ class EDLogs(FileSystemEventHandler): self.state['ShipName'] = entry['ShipName'] self.state['ShipType'] = self.canonicalise(entry['Ship']) # Ignore other Modules since they're missing Engineer modification details - self.state['PaintJob'] = '' + self.state['PaintJob'] = 'paintjob_%s_default_defaultpaintjob' % self.state['ShipType'] for module in entry['Modules']: if module.get('Slot') == 'PaintJob' and module.get('Item'): self.state['PaintJob'] = self.canonicalise(module['Item'])