fix: minor fix

This commit is contained in:
shariquerik 2021-08-02 11:30:37 +05:30
parent dee694368a
commit 6fbdfab783

View file

@ -706,7 +706,7 @@ def get_web_image(file_url):
try:
image = Image.open(StringIO(frappe.safe_decode(r.content)))
except:
frappe.throw(_("Image link {0} is not valid").format(file_url), IOError)
frappe.throw(_("Image link '{0}' is not valid").format(file_url), IOError)
try:
filename, extn = file_url.rsplit("/", 1)[1].rsplit(".", 1)