diff --git a/command.py b/command.py index f29412e..7cd7abb 100644 --- a/command.py +++ b/command.py @@ -18,6 +18,8 @@ def __init__(self, sock, data): self.error("Unable to decode request JSON") self._handle = False return + except KeyError: + pass missing = [] for k in self.required: if k in self.data: