@@ -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)
|
||||
|
Reference in New Issue
Block a user