Commit 30c95755 authored by RyanHerb's avatar RyanHerb

docker reporter: update code base to latest version

parent b3a20800
......@@ -7,3 +7,4 @@ cron_user www-data
cron 0 5 * * * *
host 127.0.0.1
path /home/www-data/vidjil
local true
......@@ -135,7 +135,7 @@ def run_scripts(params):
for key in scripts:
#remove file extensions
new_key = key.split('.')[0]
if params['local'] != 'False':
if params['local'] == 'False':
results[new_key] = tunnel(params['host'], params['username'], params['key'], params['path'], scripts[key])
else:
results[new_key] = execute(params['path'], scripts[key])
......
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