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:
parent
cba7aee874
commit
21098f8cfd
3
stats.py
3
stats.py
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user