From dd43ddaad6f15fdc61eeb00ffd69f5e0db7aa39d Mon Sep 17 00:00:00 2001 From: Valery Sinelnikov Date: Mon, 20 Nov 2023 11:13:32 +0400 Subject: [PATCH] Typos corrected --- gpoa/frontend/scripts_applier.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpoa/frontend/scripts_applier.py b/gpoa/frontend/scripts_applier.py index e7a6006..354745c 100644 --- a/gpoa/frontend/scripts_applier.py +++ b/gpoa/frontend/scripts_applier.py @@ -148,10 +148,10 @@ def install_script(storage_script_entry, script_dir, access_permissions): shutil.copyfile(storage_script_entry.path, script_file) os.chmod(script_file, int(access_permissions, base = 8)) - if storage_script_entry.arg: + if storage_script_entry.args: dir_path = script_dir + '/' + script_name + '.arg' dir_arg = Path(dir_path) dir_arg.mkdir(parents=True, exist_ok=True) file_arg = open(dir_path + '/arg', 'w') - file_arg.write(storage_script_entry.arg) + file_arg.write(storage_script_entry.args) file_arg.close()