From d4b8859d913b06cfd7ef2a40ce1b5fd0097d1fc5 Mon Sep 17 00:00:00 2001 From: ronnyabraham Date: Mon, 9 May 2022 14:32:42 +0300 Subject: [PATCH] some cleaning up of code in utils --- modules/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/utils.py b/modules/utils.py index 2f48ffc..9c5c4fd 100644 --- a/modules/utils.py +++ b/modules/utils.py @@ -367,9 +367,9 @@ def link_create(path_src, path_dst, debug=False): run(cmd_rm) else: msg_error = "something exists at dst - '%s' " \ - "- and it's not a link\n kicking out".format(path_dst) + "- and it's not a link\n kicking out" - sys.exit(msg_error) + sys.exit(msg_error.format(path_dst)) if debug: msg_debug += "link_create:cmd_link : %s" % cmd_link