mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-31 12:56:11 +01:00
appease the linter
This commit is contained in:
parent
e52294dbb3
commit
224e55429f
@ -76,7 +76,7 @@ class Authentication:
|
|||||||
|
|
||||||
output = self.check(token)
|
output = self.check(token)
|
||||||
if output is None:
|
if output is None:
|
||||||
raise Exception("Invalid token")
|
raise ValueError("Invalid token")
|
||||||
return output
|
return output
|
||||||
|
|
||||||
def check_bool(self, token) -> bool:
|
def check_bool(self, token) -> bool:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user