mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-19 21:03:21 -07:00
Include posters in Twitter notifications
* Also cleanup Facebook
This commit is contained in:
parent
6f33d29a51
commit
acc18b8d68
25 changed files with 6970 additions and 4745 deletions
22
lib/requests_oauthlib/__init__.py
Normal file
22
lib/requests_oauthlib/__init__.py
Normal file
|
@ -0,0 +1,22 @@
|
|||
from .oauth1_auth import OAuth1
|
||||
from .oauth1_session import OAuth1Session
|
||||
from .oauth2_auth import OAuth2
|
||||
from .oauth2_session import OAuth2Session, TokenUpdated
|
||||
|
||||
__version__ = '0.6.1'
|
||||
|
||||
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__)
|
||||
|
||||
import logging
|
||||
try: # Python 2.7+
|
||||
from logging import NullHandler
|
||||
except ImportError:
|
||||
class NullHandler(logging.Handler):
|
||||
def emit(self, record):
|
||||
pass
|
||||
|
||||
logging.getLogger('requests_oauthlib').addHandler(NullHandler())
|
Loading…
Add table
Add a link
Reference in a new issue