Skip to content

Commit 07803cb

Browse files
committed
Use NXC_CONFIG instead of retrieving it with NXC_PATH/nxc.conf
1 parent 7ea164a commit 07803cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
if not nxc_config.has_section(section):
2121
nxc_logger.display(f"Adding missing section '{section}' to nxc.conf")
2222
nxc_config.add_section(section)
23-
with open(path_join(NXC_PATH, "nxc.conf"), "w") as config_file:
23+
with open(CONFIG_PATH, "w") as config_file:
2424
nxc_config.write(config_file)
2525
for option in nxc_default_config.options(section):
2626
if not nxc_config.has_option(section, option):

0 commit comments

Comments
 (0)