Commit c484f8b9 authored by Philippe Nguyen's avatar Philippe Nguyen
Browse files

fixed bug when copying config file with absolute paths

parent eb960558
......@@ -542,7 +542,7 @@ def main(args):
# Create HTML report
for injection, sub_dir in sub_dirs.items():
src = args.config
dest = os.path.join(sub_dir, src)
dest = os.path.join(sub_dir, 'config.ini')
shutil.copyfile(src, dest)
html.write_report(
sub_dir,
......
......@@ -405,7 +405,7 @@ def main(args):
colors[channel] = '#%02x%02x%02x' % (255, x, x)
#colors[channel] = "rgb(255, {0}, {0})".format(x)
src = args.config
dest = os.path.join(out_dir, src)
dest = os.path.join(out_dir, 'config.ini')
shutil.copyfile(src, dest)
html.write_composite_report(
out_dir,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment