From 80819e54ddc99ad73786d28e56b77a9ee43aa007 Mon Sep 17 00:00:00 2001 From: Daniel Parks Date: Mon, 11 Sep 2017 18:49:51 -0700 Subject: [PATCH] Copy static directory into output/ --- sreinventory/cli.py | 1 + templates/layout.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sreinventory/cli.py b/sreinventory/cli.py index f81c6da..1bb3ba0 100755 --- a/sreinventory/cli.py +++ b/sreinventory/cli.py @@ -168,4 +168,5 @@ def main(): if os.path.isdir("output"): shutil.rmtree("output") os.mkdir("output", 0o755) + shutil.copytree("static", "output/static") output_html(inventory, "output") diff --git a/templates/layout.html b/templates/layout.html index 22a28a3..bcbe368 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -3,7 +3,7 @@ {% block title %}{% endblock %} - +