mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-30 19:40:08 -07:00
Fix refreshing images in browser
This commit is contained in:
parent
3a520405c4
commit
8ade73fa35
4 changed files with 28 additions and 22 deletions
|
@ -2831,8 +2831,9 @@ class PmsConnect(object):
|
|||
|
||||
if img:
|
||||
web_img = img.startswith('http')
|
||||
resource_img = img.startswith('/:/resources')
|
||||
|
||||
if refresh and not web_img:
|
||||
if refresh and not web_img and not resource_img:
|
||||
img = '{}/{}'.format(img.rstrip('/'), helpers.timestamp())
|
||||
|
||||
if web_img:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue