Fix refreshing images in browser

This commit is contained in:
JonnyWong16 2021-03-25 18:13:01 -07:00
parent 3a520405c4
commit 8ade73fa35
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
4 changed files with 28 additions and 22 deletions

View file

@ -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: