mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Decode pandoc --version output into a string
This commit is contained in:
parent
dacc092125
commit
7ab2d1fddf
1 changed files with 1 additions and 1 deletions
|
|
@ -774,7 +774,7 @@ def fields2pelican(
|
|||
def is_pandoc2_installed():
|
||||
cmd = ['pandoc', '--version']
|
||||
try:
|
||||
output = subprocess.check_output(cmd)
|
||||
output = subprocess.check_output(cmd).decode('utf-8')
|
||||
except subprocess.CalledProcessError:
|
||||
return None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue