mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
Added dedicated SiCKRAGE section with API version and SSO login support (#1805)
Added migration code to migrate SickBeard section with fork sickrage-api to new SiCKRAGE section
This commit is contained in:
parent
9d64c2f478
commit
0acf78f196
91 changed files with 13436 additions and 35 deletions
19
libs/common/requests_oauthlib/__init__.py
Normal file
19
libs/common/requests_oauthlib/__init__.py
Normal file
|
@ -0,0 +1,19 @@
|
|||
import logging
|
||||
|
||||
from .oauth1_auth import OAuth1
|
||||
from .oauth1_session import OAuth1Session
|
||||
from .oauth2_auth import OAuth2
|
||||
from .oauth2_session import OAuth2Session, TokenUpdated
|
||||
|
||||
__version__ = "1.3.0"
|
||||
|
||||
import requests
|
||||
|
||||
if requests.__version__ < "2.0.0":
|
||||
msg = (
|
||||
"You are using requests version %s, which is older than "
|
||||
"requests-oauthlib expects, please upgrade to 2.0.0 or later."
|
||||
)
|
||||
raise Warning(msg % requests.__version__)
|
||||
|
||||
logging.getLogger("requests_oauthlib").addHandler(logging.NullHandler())
|
Loading…
Add table
Add a link
Reference in a new issue