mirror of https://gitlab.com/bashrc2/epicyon
Comma
parent
9fa69bcc81
commit
66447bcbf1
|
@ -462,7 +462,7 @@ def downloadImageAnyMimeType(session, url: str, timeoutSec: int, debug: bool):
|
||||||
contentType = None
|
contentType = None
|
||||||
result = None
|
result = None
|
||||||
sessionHeaders = {
|
sessionHeaders = {
|
||||||
'Accept': 'image/x-icon; image/png'
|
'Accept': 'image/x-icon, image/png'
|
||||||
}
|
}
|
||||||
try:
|
try:
|
||||||
result = session.get(url, headers=sessionHeaders, timeout=timeoutSec)
|
result = session.get(url, headers=sessionHeaders, timeout=timeoutSec)
|
||||||
|
|
Loading…
Reference in New Issue