aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-30 15:30:15 +0100
committerGravatar jesopo2019-05-30 15:30:15 +0100
commitf0dee5ebd6f80b647bdf12194ced06b820ba950d (patch)
tree61cc66d443c6ab88a1fb5d5f12e92f005f84bd5d
parentUpdate CHANGELOG (diff)
signature
Immutable arg default values leads to weird data persistence
-rw-r--r--src/IRCLine.py2
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)