mirror of
https://abf.rosa.ru/djam/abf-console-client-src.git
synced 2025-02-23 18:02:50 +00:00
Fix error message on file upload
This commit is contained in:
parent
c492fa3707
commit
4146ef35ac
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ class AbfJson(object):
|
|||
output = resp.read()
|
||||
conn.close()
|
||||
if resp.status < 200 or resp.status > 299:
|
||||
self.log.error(_("Could not upload file. HTTP error %(status)s %(reason)s") % (resp.status, resp.reason))
|
||||
self.log.error(_("Could not upload file. HTTP error %(status)s %(reason)s") % {'status': resp.status, 'reason': resp.reason})
|
||||
exit(1)
|
||||
|
||||
output = json.loads(output)
|
||||
|
|
Loading…
Add table
Reference in a new issue