From 85ed69463c121b9eb1dd853c01dc997bab38478c Mon Sep 17 00:00:00 2001 From: Athanasius Date: Fri, 13 Jan 2023 14:04:01 +0000 Subject: [PATCH] monitor: Don't synthesize StartUp if current event is ShutDown --- monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor.py b/monitor.py index ca2eba99..c4412d46 100644 --- a/monitor.py +++ b/monitor.py @@ -1977,7 +1977,7 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below if entry['event'] == 'Location': logger.trace_if('journal.locations', '"Location" event') - if not self.live and entry['event'] not in (None, 'Fileheader'): + if not self.live and entry['event'] not in (None, 'Fileheader', 'ShutDown'): # Game not running locally, but Journal has been updated self.live = True if self.station: