Add 'plain' as a possible ico type
This commit is contained in:
parent
aca9e853d7
commit
0ddb1526a1
|
@ -51,7 +51,7 @@ RENAMES = {
|
||||||
"aelitis.com":"www.vuze.com"
|
"aelitis.com":"www.vuze.com"
|
||||||
}
|
}
|
||||||
|
|
||||||
VALID_ICO_TYPES = ["octet-stream", "x-icon", "image/vnd.microsoft.icon", "vnd.microsoft.icon"]
|
VALID_ICO_TYPES = ["octet-stream", "x-icon", "image/vnd.microsoft.icon", "vnd.microsoft.icon", "plain"]
|
||||||
VALID_PNG_TYPES = ["octet-stream", "png"]
|
VALID_PNG_TYPES = ["octet-stream", "png"]
|
||||||
|
|
||||||
def fetch_url(url, valid_subtypes=None):
|
def fetch_url(url, valid_subtypes=None):
|
||||||
|
|
Loading…
Reference in New Issue