summaryrefslogtreecommitdiff
path: root/cli/commands
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-12-26 21:56:56 +0100
committerJules Laplace <julescarbon@gmail.com>2020-12-26 21:56:56 +0100
commit85bfb949fea4e69dabc5b7544ce70d26d3d11393 (patch)
tree1b818db90e44176751c98c9142dbe06b2b5fe6a3 /cli/commands
parentd260e3a65bdec981fd98db8a2352caa9bef9ae55 (diff)
add support for unsafe inline scripts
Diffstat (limited to 'cli/commands')
-rw-r--r--cli/commands/site/export.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/commands/site/export.py b/cli/commands/site/export.py
index 5f4636a..0ba6a62 100644
--- a/cli/commands/site/export.py
+++ b/cli/commands/site/export.py
@@ -30,7 +30,7 @@ def cli(ctx, opt_graph_path, opt_output_dir):
return
# build everything here
- graph_dir = join(opt_output_dir, graph.path)
+ graph_dir = os.path.abspath(join(opt_output_dir, graph.path))
# load site index
index_html = load_text(join(app_cfg.DIR_STATIC, 'site.html'), split=False)