Commit ea291102 authored by Steve Goering's avatar Steve Goering

style changes and enforce run permissions

parent 38dcdb53
......@@ -19,6 +19,7 @@ sys.path.insert(0, os.path.abspath(os.path.join(script_dir, "..", "..", "libs"))
from log import *
def main(params):
max_i = shutil.get_terminal_size().columns
......@@ -39,4 +40,4 @@ def main(params):
if __name__ == "__main__":
sys.exit(main(sys.argv[1:]))
\ No newline at end of file
sys.exit(main(sys.argv[1:]))
......@@ -83,6 +83,9 @@ def handle_script(submodul, scriptfile, params=[]):
lInfo("output:")
cmd = " ".join([scriptfile] + params)
# make script executable
os.system("chmod +x {}".format(scriptfile))
return_value = os.system(cmd)
if return_value == 0:
......
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