mirror of
https://github.com/aquatix/digimarks.git
synced 2025-12-06 23:05:10 +01:00
Catch case where favicon could not be saved
This commit is contained in:
@@ -446,7 +446,11 @@ def updatebookmark(userkey, request, urlhash = None):
|
||||
bookmark.set_status_code()
|
||||
|
||||
if bookmark.http_status == 200:
|
||||
try:
|
||||
bookmark.set_favicon()
|
||||
except IOError:
|
||||
# Icon file could not be saved possibly, don't bail completely
|
||||
pass
|
||||
|
||||
bookmark.save()
|
||||
return bookmark
|
||||
|
||||
Reference in New Issue
Block a user