fixed style path issue

This commit is contained in:
lowrussia 2019-07-08 17:49:12 +02:00
parent afaa58d710
commit 415f8a5ac8

View File

@ -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: