From 81d5cc0103097886e0a1a5ab231baf38c099bce9 Mon Sep 17 00:00:00 2001 From: Nameless Date: Fri, 23 Apr 2021 20:36:41 +0300 Subject: [PATCH] Fix new msg not shown (#218) --- tg/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: