1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Peter Wienemann <fossdev@posteo.de>
Date: Fri, 7 Aug 2020 16:01:07 +0200
Subject: Ignore js dir in html report generation
Bug-Debian: https://bugs.debian.org/952720
Forwarded: not-needed
---
wapitiCore/report/htmlreportgenerator.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/wapitiCore/report/htmlreportgenerator.py
+++ b/wapitiCore/report/htmlreportgenerator.py
@@ -64,7 +64,7 @@
(This way we keep previous generated HTML files).
"""
if os.path.isdir(output_path):
- for subdir in ("css", "js"):
+ for subdir in ["css"]:
try:
rmtree(os.path.join(output_path, subdir))
except FileNotFoundError:
|