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