parent
447f8cf496
commit
aef2150179
|
@ -121,7 +121,7 @@ class template(object):
|
||||||
os.makedirs(destdir)
|
os.makedirs(destdir)
|
||||||
|
|
||||||
with open(dest, 'wb') as f:
|
with open(dest, 'wb') as f:
|
||||||
if ext not in ('.py', '.xml', '.csv', '.js'):
|
if ext not in ('.py', '.xml', '.csv', '.js', '.rst', '.html'):
|
||||||
f.write(content)
|
f.write(content)
|
||||||
else:
|
else:
|
||||||
env.from_string(content)\
|
env.from_string(content)\
|
||||||
|
|
Loading…
Reference in New Issue