Skip to content

Commit

Permalink
Prevent preview of unsaved image
Browse files Browse the repository at this point in the history
  • Loading branch information
hduelme committed Jan 5, 2025
1 parent e693d75 commit 1733c0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/lib/webapp-manager/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,8 +536,8 @@ def download_favicon(url):
image = download_image(root_url, link)
if image is not None:
t = tempfile.NamedTemporaryFile(suffix=".png", delete=False)
images.append([iconformat, image, t.name])
image.save(t.name)
images.append([iconformat, image, t.name])

except Exception as e:
print(e)
Expand Down

0 comments on commit 1733c0b

Please sign in to comment.