Fix Twitter notification with self-hosted images (Fixes Tautulli/Tautulli-Issues#54)

This commit is contained in:
JonnyWong16 2018-04-28 18:23:10 -07:00
parent 008e04d5cf
commit cf73639281
2 changed files with 5 additions and 1 deletions

View file

@ -4020,7 +4020,7 @@ class WebInterface(object):
@cherrypy.expose
def image(self, *args, **kwargs):
if args:
img_hash = args[0]
img_hash = args[0].split('.')[0]
if img_hash in ('poster', 'cover', 'art'):
if img_hash == 'poster':