dbr / tvdb_api

Simple to use interface to TheTVDB.com API in Python
The Unlicense
339 stars 63 forks source link

Not authorized api error changed #84

Closed the01 closed 4 years ago

the01 commented 4 years ago

tvdb_api checks for Not Authorized as the error message, but it is now Not authorized.

Maybe we could also check the http status code and/or do a lower case string comparison.

dbr commented 4 years ago

Thanks for the report! This has been fixed in 9f63511477cd4992be01a7272c1e25edaea393b8 which will be part of the next release (probably numbered v3.1)

the01 commented 4 years ago

ah, sorry, I didn't check master.