Explicitly annotate loglines
This commit is contained in:
parent
cc873fc4ff
commit
56c200fa3a
1 changed files with 1 additions and 1 deletions
|
@ -801,7 +801,7 @@ class SyngGui(QMainWindow):
|
||||||
class LoggingLabelHandler(logging.Handler):
|
class LoggingLabelHandler(logging.Handler):
|
||||||
def __init__(self, label: QLabel):
|
def __init__(self, label: QLabel):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.loglines = []
|
self.loglines: list[str] = []
|
||||||
self.label = label
|
self.label = label
|
||||||
|
|
||||||
def emit(self, record: logging.LogRecord) -> None:
|
def emit(self, record: logging.LogRecord) -> None:
|
||||||
|
|
Loading…
Add table
Reference in a new issue