diff --git a/daemon.py b/daemon.py index 40c0bf939..dfa4c2d7e 100644 --- a/daemon.py +++ b/daemon.py @@ -2203,9 +2203,7 @@ class PubServer(BaseHTTPRequestHandler): if not isinstance(message_json[check_field], list): print('INBOX: WARN: To and Cc fields should be lists, ' + check_field + '=' + str(message_json[check_field])) -# self._400() -# self.server.postreq_busy = False -# return 3 + # NOTE: this does not prevent further processing if has_object_dict(message_json): if debug: diff --git a/scripts/badtype b/scripts/badtype index f0e8aa095..d04fd54fc 100755 --- a/scripts/badtype +++ b/scripts/badtype @@ -1,2 +1,2 @@ #!/bin/bash -journalctl -u epicyon -r | grep "WARN: type from\|is not a string\|should be a string" +journalctl -u epicyon -r | grep "WARN: type from\|is not a string\|should be a string\|should be lists"