Fix TypeError when logging weird PMS answers
This commit is contained in:
parent
e6520ad2e8
commit
66f6605406
1 changed files with 2 additions and 2 deletions
|
@ -314,8 +314,8 @@ class DownloadUtils():
|
|||
return None
|
||||
else:
|
||||
r.encoding = 'utf-8'
|
||||
log.warn('Unknown answer from PMS %s with status code %s. '
|
||||
'Message: %s', url, r.status_code, r.text)
|
||||
log.warn('Unknown answer from PMS %s with status code %s. ',
|
||||
url, r.status_code)
|
||||
return True
|
||||
|
||||
# And now deal with the consequences of the exceptions
|
||||
|
|
Loading…
Reference in a new issue