Enable quiet mode when writing output to stdout
(otherwise informational text output would be mixed into the SVG output) fixes #47
This commit is contained in:
parent
fe2884c3e8
commit
2165ef7031
1 changed files with 3 additions and 0 deletions
|
|
@ -3306,6 +3306,9 @@ def parse_args(args=None, ignore_additional_args=False):
|
|||
outfile = sys.stdout.buffer
|
||||
except AttributeError:
|
||||
outfile = sys.stdout
|
||||
# enable quiet mode when writing output to stdout
|
||||
# otherwise informational text output would be mixed into the SVG output
|
||||
options.quiet = True
|
||||
|
||||
return options, [infile, outfile]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue