diff --git a/owrx/command.py b/owrx/command.py index 97c0d55..21d60d1 100644 --- a/owrx/command.py +++ b/owrx/command.py @@ -2,9 +2,9 @@ from abc import ABC, abstractmethod class CommandMapper(object): - def __init__(self, base=None, mappings={}, static=None): + def __init__(self, base=None, mappings=None, static=None): self.base = base - self.mappings = mappings + self.mappings = {} if mappings is None else mappings self.static = static def map(self, values):