mirror of
https://github.com/aclist/dztui.git
synced 2026-11-05 09:34:46 +01:00
chore: clear typehinting errors
This commit is contained in:
1 parent
d0934723e6
commit
4377f9de7c
7 files changed
+19
-12
No files matched your search
@@ -27,6 +27,7 @@ API_TIMEOUT = 3
|
||||
if TYPE_CHECKING:
|
||||
from dzgui.controllers.mc import Controller
|
||||
from dzgui.model.proxy_model import ProxyModelManager
|
||||
from dzgui.views.trees.tree_servers import ServerTreeView
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
@@ -39,7 +40,7 @@ class NewPlayerCount:
|
||||
|
||||
|
||||
class ServerModelManager:
|
||||
def __init__(self, controller: "Controller", tv: Gtk.TreeView) -> None:
|
||||
def __init__(self, controller: "Controller", tv: "ServerTreeView") -> None:
|
||||
|
||||
self.tv = tv
|
||||
self.enum = tv.get_enum()
|
||||
|
||||
Reference in new issue
Block a user