diff options
| author | 2019-05-30 15:30:15 +0100 | |
|---|---|---|
| committer | 2019-05-30 15:30:15 +0100 | |
| commit | f0dee5ebd6f80b647bdf12194ced06b820ba950d (patch) | |
| tree | 61cc66d443c6ab88a1fb5d5f12e92f005f84bd5d | |
| parent | Update CHANGELOG (diff) | |
| signature | ||
Immutable arg default values leads to weird data persistence
| -rw-r--r-- | src/IRCLine.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IRCLine.py b/src/IRCLine.py index d388b463..538c0a5e 100644 --- a/src/IRCLine.py +++ b/src/IRCLine.py @@ -40,7 +40,7 @@ class Hostmask(object): class ParsedLine(object): def __init__(self, command: str, args: typing.List[str], prefix: Hostmask=None, - tags: typing.Dict[str, str]={}): + tags: typing.Dict[str, str]=None): self.command = command self._args = args self.args = IRCArgs(args) |
