diff options
| author | 2019-11-27 12:59:36 +0000 | |
|---|---|---|
| committer | 2019-11-27 12:59:36 +0000 | |
| commit | 2139c99562e44cdb053bd98efd9aaf74bab26bb7 (patch) | |
| tree | bc98123385c7810dd361dee827852c79944a1a7d /src | |
| parent | dataclass-ify IRCBuffer.BufferLine, add .notes={} (diff) | |
| signature | ||
fix BufferLine.notes definition
Diffstat (limited to 'src')
| -rw-r--r-- | src/IRCBuffer.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/IRCBuffer.py b/src/IRCBuffer.py index 5c0b75a2..c368660b 100644 --- a/src/IRCBuffer.py +++ b/src/IRCBuffer.py @@ -11,7 +11,8 @@ class BufferLine(object): tags: dict from_self: bool method: str - notes: typing.Dict[str, str] = {} + notes: typing.Dict[str, str] = dataclasses.field( + default_factory=dict) class BufferLineMatch(object): def __init__(self, line: BufferLine, match: str): |
