mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-15 00:30:33 +03:00
Fixed taxi log
This commit is contained in:
parent
2a68b81170
commit
6a02b6efc7
@ -705,7 +705,7 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
self.station = None
|
||||
|
||||
self.state['OnFoot'] = True
|
||||
if self.state['Taxi'] is not None and not self.state['Taxi']:
|
||||
if self.state['Taxi'] is not None and self.state['Taxi'] != entry.get('Taxi', False):
|
||||
logger.warning('Disembarked from a taxi but we didn\'t know we were in a taxi?')
|
||||
|
||||
self.state['Taxi'] = False
|
||||
|
Loading…
x
Reference in New Issue
Block a user