Skip to content

Commit

Permalink
Merge pull request #1395 from garberg/cli_global_config
Browse files Browse the repository at this point in the history
Read global configuration in CLI
  • Loading branch information
garberg authored Aug 13, 2024
2 parents 703192b + 346f261 commit bd51048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nipap-cli/nipap
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ if __name__ == '__main__':
}
# read configuration
cfg = configparser.ConfigParser(cfg_defaults, allow_no_value=True)
cfg.read(userrcfile)
cfg.read(['/etc/nipaprc', userrcfile])
nipap_cli.nipap_cli.cfg = cfg

if cfg.has_section("tracing"):
Expand Down

0 comments on commit bd51048

Please sign in to comment.