1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 17:42:20 +03:00

Fix type of master passed to plug.load_plugins()

This commit is contained in:
Athanasius 2022-12-22 16:58:53 +00:00
parent ce4a6ff898
commit 37b054b3d3
No known key found for this signature in database
GPG Key ID: 772697E181BB2767

View File

@ -27,7 +27,7 @@ class LastError:
"""Holds the last plugin error.""" """Holds the last plugin error."""
msg: Optional[str] msg: Optional[str]
root: tk.Frame root: tk.Tk
def __init__(self) -> None: def __init__(self) -> None:
self.msg = None self.msg = None
@ -141,7 +141,7 @@ class Plugin(object):
return None return None
def load_plugins(master: tk.Frame) -> None: # noqa: CCR001 def load_plugins(master: tk.Tk) -> None: # noqa: CCR001
"""Find and load all plugins.""" """Find and load all plugins."""
last_error.root = master last_error.root = master