Add fix for bug in Windows Python 3.6/3.7

TypeError: argument of type 'WindowsPath' is not iterable
This commit is contained in:
James R. Barlow
2020-05-07 22:19:21 -07:00
parent 4b98ce391b
commit 790ff58f67
2 changed files with 7 additions and 2 deletions
+2 -2
View File
@@ -56,8 +56,8 @@ OCRmyPDF does not.
On Windows, the script that calls ``ocrmypdf.ocr()`` must be protected
by an "ifmain" guard (``if __name__ == '__main__'``) or you must use
``ocrmypdf.ocr(...use_threads=True)``. If you do not take at least one
of these steps, Windows fork semantics will prevent OCRmyPDF from working
correct.
of these steps, Windows process semantics will prevent OCRmyPDF from working
correctly.
Logging
-------