forked from varia/distribusi
fixed style path issue
This commit is contained in:
parent
afaa58d710
commit
415f8a5ac8
@ -138,7 +138,7 @@ def distribusify(args, directory): # noqa
|
|||||||
with open(os.path.join(root, 'index.html'), 'w') as f:
|
with open(os.path.join(root, 'index.html'), 'w') as f:
|
||||||
if not args.no_template:
|
if not args.no_template:
|
||||||
if args.style:
|
if args.style:
|
||||||
fs = open(os.path.join(root, args.style), "r")
|
fs = open(args.style, "r")
|
||||||
style = fs.read()
|
style = fs.read()
|
||||||
styled_html_head = html_head % style
|
styled_html_head = html_head % style
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user