From 1963140572ddcc9f6cccb50499e11184a936a82f Mon Sep 17 00:00:00 2001 From: A_D Date: Sun, 19 Jul 2020 18:23:40 +0200 Subject: [PATCH] removed star import --- monitor.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/monitor.py b/monitor.py index 6e377f49..78e43fee 100644 --- a/monitor.py +++ b/monitor.py @@ -27,7 +27,7 @@ elif platform == 'win32': from watchdog.observers import Observer from watchdog.events import FileSystemEventHandler import ctypes - from ctypes.wintypes import * + from ctypes.wintypes import BOOL, HWND, LPARAM, LPWSTR EnumWindows = ctypes.windll.user32.EnumWindows EnumWindowsProc = ctypes.WINFUNCTYPE(BOOL, HWND, LPARAM) @@ -454,7 +454,6 @@ class EDLogs(FileSystemEventHandler): elif (entry['event'] == 'Loadout' and not 'fighter' in self.canonicalise(entry['Ship']) and not 'buggy' in self.canonicalise(entry['Ship'])): - self.state['ShipID'] = entry['ShipID'] self.state['ShipIdent'] = entry['ShipIdent']