python-docx2txt icon indicating copy to clipboard operation
python-docx2txt copied to clipboard

Two argument process gives error (but one argument is fine)

Open demongolem-biz opened this issue 3 years ago • 0 comments

When using the two argument version of the process function, I get the following error.

Traceback (most recent call last): File "", line 1, in File "C:\Users\brick\AppData\Local\Programs\Python\Python38\lib\site-packages\docxpy\docxreader.py", line 133, in process res = obj.process() File "C:\Users\brick\AppData\Local\Programs\Python\Python38\lib\site-packages\docxpy\docxreader.py", line 126, in process dst_f.write(self.zipf.read(fname)) TypeError: write() argument must be str, not bytes

demongolem-biz avatar Jul 06 '21 14:07 demongolem-biz