##// END OF EJS Templates
command.extend in pandoc
MinRK -
Show More
@@ -46,7 +46,7 b" def pandoc(source, fmt, to, extra_args=None, encoding='utf-8'):"
46 """
46 """
47 command = ['pandoc', '-f', fmt, '-t', to]
47 command = ['pandoc', '-f', fmt, '-t', to]
48 if extra_args:
48 if extra_args:
49 command = command + extra_args
49 command.extend(extra_args)
50 p = subprocess.Popen(command,
50 p = subprocess.Popen(command,
51 stdin=subprocess.PIPE, stdout=subprocess.PIPE
51 stdin=subprocess.PIPE, stdout=subprocess.PIPE
52 )
52 )
General Comments 0
You need to be logged in to leave comments. Login now