0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-29 07:58:19 +02:00

right super() param

This commit is contained in:
David Baker 2015-01-23 10:32:40 +00:00
parent bcd48b9636
commit f87586e661

View file

@ -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