From 45df7bc417846c54e300575be39c1065ff8df8be Mon Sep 17 00:00:00 2001 From: Jonathan Harris Date: Tue, 4 Oct 2016 15:24:42 +0100 Subject: [PATCH] Check System consistency only if we have a log Addresses #145 --- EDMarketConnector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EDMarketConnector.py b/EDMarketConnector.py index 59b6e7bd..e6da4786 100755 --- a/EDMarketConnector.py +++ b/EDMarketConnector.py @@ -356,7 +356,7 @@ class AppWindow: self.status['text'] = _("Where are you?!") # Shouldn't happen elif not data.get('ship') or not data['ship'].get('modules') or not data['ship'].get('name','').strip(): self.status['text'] = _("What are you flying?!") # Shouldn't happen - elif auto_update and (not data['commander'].get('docked') or (self.system['text'] and data['lastSystem']['name'] != self.system['text'])): + elif auto_update and (not data['commander'].get('docked') or (monitor.logfile and self.system['text'] and data['lastSystem']['name'] != self.system['text'])): raise companion.ServerLagging() else: