1
0
mirror of https://codeberg.org/diginaut/digimarks.git synced 2026-05-06 22:44:09 +02:00

Catch case where favicon could not be saved

This commit is contained in:
2017-01-16 11:38:43 +01:00
parent 63dd636c25
commit 2e9457ee1a
+5 -1
View File
@@ -446,7 +446,11 @@ def updatebookmark(userkey, request, urlhash = None):
bookmark.set_status_code()
if bookmark.http_status == 200:
bookmark.set_favicon()
try:
bookmark.set_favicon()
except IOError:
# Icon file could not be saved possibly, don't bail completely
pass
bookmark.save()
return bookmark