Automatically delete refresh-token if it is corrupted

This commit is contained in:
Michael Lazar
2017-06-08 01:04:29 -04:00
parent ca0f3f78ae
commit 979726ec6b
4 changed files with 88 additions and 4 deletions

View File

@@ -48,4 +48,8 @@ class TemporaryFileError(RTVError):
class MailcapEntryNotFound(RTVError):
"A valid mailcap entry could not be coerced from the given url"
"A valid mailcap entry could not be coerced from the given url"
class InvalidRefreshToken(RTVError):
"The refresh token is corrupt and cannot be used to login"