forked from MarseyWorld/MarseyWorld
fix get_error()
parent
57f029040d
commit
91086d76c5
|
@ -364,7 +364,7 @@ def get_profile_picture(identifier:Union[int, str]) -> str:
|
||||||
|
|
||||||
def get_error():
|
def get_error():
|
||||||
if request.referrer and request.referrer.split('?')[0] == request.base_url:
|
if request.referrer and request.referrer.split('?')[0] == request.base_url:
|
||||||
return request.values.get("err")
|
return request.values.get("error")
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue