[holy] example was run in examples

This commit is contained in:
mzwiessele 2015-10-12 17:08:05 +01:00
parent 17fc844304
commit 38879caea6
6 changed files with 19 additions and 108 deletions

View file

@ -49,8 +49,8 @@ def read_to_rst(fname):
try:
import pypandoc
rstname = "{}.{}".format(os.path.splitext(fname)[0], 'rst')
pypandoc.convert(read(fname), 'rst', format='md', outputfile=rstname)
return read(rstname)
return pypandoc.convert(read(fname), 'rst', format='md')
#return read(rstname)
except ImportError:
return read(fname)