mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-09 17:36:59 +00:00
right super() param
This commit is contained in:
parent
bcd48b9636
commit
f87586e661
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ class NotFoundError(SynapseError):
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
if "errcode" not in kwargs:
|
if "errcode" not in kwargs:
|
||||||
kwargs["errcode"] = Codes.NOT_FOUND
|
kwargs["errcode"] = Codes.NOT_FOUND
|
||||||
super(UnrecognizedRequestError, self).__init__(
|
super(NotFoundError, self).__init__(
|
||||||
404,
|
404,
|
||||||
"Not found",
|
"Not found",
|
||||||
**kwargs
|
**kwargs
|
||||||
|
|
Loading…
Add table
Reference in a new issue