scripts/mutool_draw.py: fixed incorrect name that was breaking mudrawpy test.
authorJulian Smith <[email protected]>
Fri, 14 Oct 2022 21:43:58 +0000 (22:43 +0100)
committerJulian Smith <[email protected]>
Fri, 14 Oct 2022 21:46:41 +0000 (22:46 +0100)
Changed last remaining occurence of mupdf.Output to mupdf.FzOutput.

scripts/mutool_draw.py

index f4b476e1f248e67b9aee1a137060aa39d4c92adf..5c3bbb463b5841679c0403424947287e9ccaadcb 100644 (file)
@@ -1101,7 +1101,7 @@ def draw( argv):
             # Windows specific code to make stdout binary.
             if state.output_format not in( OUT_TEXT, OUT_STEXT, OUT_HTML, OUT_XHTML, OUT_TRACE, OUT_XMLTEXT):
                 setmode(fileno(stdout), O_BINARY)
-        state.out = mupdf.FzOutput( mupdf.Output.Fixed_STDOUT)
+        state.out = mupdf.FzOutput( mupdf.FzOutput.Fixed_STDOUT)
 
     state.filename = argv[0]
     if not state.output_file_per_page: