1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 07:47:14 +03:00

stats.py: Missing LANG comment, and type ignore on some ctypes

This commit is contained in:
Athanasius 2021-06-13 12:14:01 +01:00
parent cba7aee874
commit 21098f8cfd

View File

@ -35,7 +35,7 @@ if platform == 'win32':
GetWindowRect.argtypes = [HWND, ctypes.POINTER(RECT)]
except Exception: # Not supported under Wine 4.0
CalculatePopupWindowPosition = None
CalculatePopupWindowPosition = None # type: ignore
def status(data: Dict[str, Any]) -> List[List[str]]:
@ -275,6 +275,7 @@ class StatsDialog():
if not monitor.cmdr:
return
# LANG: Fetching data from Frontier CAPI in order to display on File > Status
self.status['text'] = _('Fetching data...')
self.parent.update_idletasks()