mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 14:10:52 -07:00
parent
6dd7e8445a
commit
ad827e62f6
2 changed files with 2 additions and 2 deletions
|
@ -708,7 +708,7 @@ def uploadToImgur(imgPath, imgTitle=''):
|
|||
if response and not err_msg:
|
||||
t = '\'' + imgTitle + '\' ' if imgTitle else ''
|
||||
logger.debug(u"PlexPy Helpers :: Image {}uploaded to Imgur.".format(t))
|
||||
img_url = response.json().get('data').get('link', '').replace('http', 'https')
|
||||
img_url = response.json().get('data').get('link', '').replace('http://', 'https://')
|
||||
|
||||
else:
|
||||
if err_msg:
|
||||
|
|
|
@ -205,7 +205,7 @@ def process(opcode, data):
|
|||
return False
|
||||
|
||||
try:
|
||||
activity = activity_handler.ActivityHandler(timeline=time_line[0])
|
||||
activity = activity_handler.TimelineHandler(timeline=time_line[0])
|
||||
activity.process()
|
||||
except Exception as e:
|
||||
logger.error(u"PlexPy WebSocket :: Failed to process timeline data: %s." % e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue