Show More
@@ -65,7 +65,7 b' def encodevalueinheaders(value, header, ' | |||
|
65 | 65 | class _multifile: |
|
66 | 66 | def __init__(self, *fileobjs): |
|
67 | 67 | for f in fileobjs: |
|
68 |
if not util.safehasattr(f, |
|
|
68 | if not util.safehasattr(f, 'length'): | |
|
69 | 69 | raise ValueError( |
|
70 | 70 | b'_multifile only supports file objects that ' |
|
71 | 71 | b'have a length but this one does not:', |
General Comments 0
You need to be logged in to leave comments.
Login now