1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-05-17 14:35:09 +00:00

Mangle token

This commit is contained in:
VarMonke 2022-05-08 20:02:36 +05:30
parent 15b3546e27
commit 72bd647c9b
3 changed files with 15 additions and 11 deletions

View file

@ -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)