From a45ebdd1fafeb09fbcd6cf03698809262132810b Mon Sep 17 00:00:00 2001
From: iamashwin99 <ashwin-kumar.karnad@mpsd.mpg.de>
Date: Wed, 7 Jun 2023 15:25:23 +0200
Subject: [PATCH] remove redundant line

---
 mpsd-software-environment.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/mpsd-software-environment.py b/mpsd-software-environment.py
index 496466a..5a78c28 100755
--- a/mpsd-software-environment.py
+++ b/mpsd-software-environment.py
@@ -910,9 +910,8 @@ def main():
 
     # target dir is the place where this script exists. the
     script_dir = Path(os.path.dirname(os.path.realpath(__file__)))
-    installer_log_file = get_installer_log_file(args, script_dir)
 
-    set_up_logging(args.loglevel, installer_log_file)
+    set_up_logging(args.loglevel, get_installer_log_file(args, script_dir))
 
     # Check the command and run related function
     if args.action == "remove":
-- 
GitLab