mirror of
https://github.com/aquatix/digimarks.git
synced 2025-12-06 20:55:10 +01:00
Really skip
This commit is contained in:
@@ -348,6 +348,7 @@ class Bookmark(BaseModel):
|
|||||||
if response.headers['Content-Length'] == '0':
|
if response.headers['Content-Length'] == '0':
|
||||||
# No favicon found, likely
|
# No favicon found, likely
|
||||||
print('Skipping this favicon, needs fallback')
|
print('Skipping this favicon, needs fallback')
|
||||||
|
return
|
||||||
# Default to 'image/png'
|
# Default to 'image/png'
|
||||||
fileextension = '.png'
|
fileextension = '.png'
|
||||||
if response.headers['content-type'] == 'image/jpeg':
|
if response.headers['content-type'] == 'image/jpeg':
|
||||||
|
|||||||
Reference in New Issue
Block a user