1
0
mirror of https://github.com/httpie/cli.git synced 2025-08-10 22:42:05 +02:00

Fixed multiple uploads with the same field name

Closes #267
This commit is contained in:
Jakub Roztocil
2014-10-20 14:40:55 +02:00
parent c301305a59
commit 0481957715
7 changed files with 85 additions and 30 deletions

View File

@@ -48,7 +48,7 @@ class BaseConfigDict(dict):
except ValueError as e:
raise ValueError(
'Invalid %s JSON: %s [%s]' %
(type(self).__name__, e.message, self.path)
(type(self).__name__, str(e), self.path)
)
self.update(data)
except IOError as e: