diff options
author | David Baker <dave@matrix.org> | 2015-01-23 10:32:40 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-01-23 10:32:40 +0000 |
commit | f87586e661101849a90f9d106b207a529e4cf689 (patch) | |
tree | 727220d45f43be7cfbcb14690602106385671d08 | |
parent | Fix adding rules without before/after & add the rule that we couldn't find to... (diff) | |
download | synapse-f87586e661101849a90f9d106b207a529e4cf689.tar.xz |
right super() param
Diffstat (limited to '')
-rw-r--r-- | synapse/api/errors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py index 01207282d6..4f59e1742c 100644 --- a/synapse/api/errors.py +++ b/synapse/api/errors.py @@ -100,7 +100,7 @@ class NotFoundError(SynapseError): def __init__(self, *args, **kwargs): if "errcode" not in kwargs: kwargs["errcode"] = Codes.NOT_FOUND - super(UnrecognizedRequestError, self).__init__( + super(NotFoundError, self).__init__( 404, "Not found", **kwargs |