Add 'plain' as a possible ico type

This commit is contained in:
Andrew Resch 2009-09-09 05:12:41 +00:00
parent aca9e853d7
commit 0ddb1526a1
1 changed files with 1 additions and 1 deletions

View File

@ -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):