Browse Source

fixed style path issue

master
lowrussia 5 years ago
parent
commit
415f8a5ac8
  1. 2
      distribusi/distribusi.py

2
distribusi/distribusi.py

@ -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…
Cancel
Save