diff --git a/tg/views.py b/tg/views.py index 5128f1c..e5f52f7 100644 --- a/tg/views.py +++ b/tg/views.py @@ -34,7 +34,7 @@ class Win: def __init__(self, win: window): self.win = win - def addstr(self, y: int, x: int, _str: str, attr: Any = None) -> None: + def addstr(self, y: int, x: int, _str: str, attr: int = 0) -> None: try: return self.win.addstr(y, x, _str, attr) except Exception: