From 2389736e8e0c244e5ec9af66210ca5feef43aee2 Mon Sep 17 00:00:00 2001 From: apearce Date: Fri, 17 Jan 2025 16:08:15 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20fix=20get=5Fattribute=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- process/io/process_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process/io/process_config.py b/process/io/process_config.py index 5b8c722ec..9a072b31c 100755 --- a/process/io/process_config.py +++ b/process/io/process_config.py @@ -202,7 +202,7 @@ def get_attribute(self, attributename): auxvar = auxvar.rstrip() if varname == attributename.upper() and auxvar == "": return None - else: + if varname == attributename.upper() and auxvar != "": return auxvar except FileNotFoundError: print("Error: No config file named %s" % self.filename, file=stderr)