mirror of
https://github.com/RGBCube/GitHubWrapper
synced 2025-05-17 14:35:09 +00:00
Mangle token
This commit is contained in:
parent
15b3546e27
commit
72bd647c9b
3 changed files with 15 additions and 11 deletions
|
@ -93,8 +93,8 @@ class InvalidToken(ClientException):
|
|||
class InvalidAuthCombination(ClientException):
|
||||
"""Raised when the username and token are both provided."""
|
||||
|
||||
def __init__(self):
|
||||
msg = 'The username and token cannot be used together.'
|
||||
def __init__(self, msg: str):
|
||||
#msg = 'The username and token cannot be used together.'
|
||||
super().__init__(msg)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue