From 415f8a5ac873ec88fe82e9722af2b04271ee5ccf Mon Sep 17 00:00:00 2001 From: lowrussia Date: Mon, 8 Jul 2019 17:49:12 +0200 Subject: [PATCH] fixed style path issue --- distribusi/distribusi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distribusi/distribusi.py b/distribusi/distribusi.py index 36b57a0..4a09ef9 100644 --- a/distribusi/distribusi.py +++ b/distribusi/distribusi.py @@ -138,7 +138,7 @@ def distribusify(args, directory): # noqa with open(os.path.join(root, 'index.html'), 'w') as f: if not args.no_template: if args.style: - fs = open(os.path.join(root, args.style), "r") + fs = open(args.style, "r") style = fs.read() styled_html_head = html_head % style else: