diff options
| author | 2019-10-26 00:32:00 +0200 | |
|---|---|---|
| committer | 2019-10-30 22:26:59 +0100 | |
| commit | fbf8cd1a167966d31717f4fc1fec1418910ad0f4 (patch) | |
| tree | 07284824baa45a7ce0a79f64b9ba81f7e83d7793 /src/Logging.py | |
| parent | fix _line() related type hinting issues in IRCServer.py (diff) | |
| signature | ||
Fix type errors detected by 'mypy --ignore-missing-imports src'.
Diffstat (limited to 'src/Logging.py')
| -rw-r--r-- | src/Logging.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Logging.py b/src/Logging.py index a1cdb123..e883540a 100644 --- a/src/Logging.py +++ b/src/Logging.py @@ -24,6 +24,8 @@ class HookedHandler(logging.StreamHandler): self._func(record.levelno, self.format(record)) class Log(object): + _hooks: typing.List[typing.Callable[[int, str], None]] + def __init__(self, to_file: bool, level: str, location: str): self._hooks = [] |
