Skip to content

Commit

Permalink
✅ fix get_attribute error
Browse files Browse the repository at this point in the history
  • Loading branch information
apearce committed Jan 17, 2025
1 parent aa7c86d commit 2389736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process/io/process_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2389736

Please sign in to comment.