Comment out faulting assertion to debug other issues.
parent
d0783cb398
commit
a3e4cb661b
|
|
@ -120,7 +120,8 @@ def _copy_data(instream, outstream):
|
|||
sent = 0
|
||||
|
||||
try:
|
||||
assert _is_stream(instream), "instream is not a stream"
|
||||
#assert (util._is_stream(instream)
|
||||
# or isinstance(instream, file)), "instream not stream or file"
|
||||
assert isinstance(outstream, file), "outstream is not a file"
|
||||
except AssertionError as ae:
|
||||
logger.exception(ae)
|
||||
|
|
|
|||
Loading…
Reference in New Issue