Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fednode.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def main():
# for all other commands
# if config doesn't exist, only the 'install' command may be run
config_existed = os.path.exists(FEDNODE_CONFIG_PATH)
config = configparser.SafeConfigParser()
config = configparser.ConfigParser()
if not config_existed:
if args.command != 'install':
print("config file {} does not exist. Please run the 'install' command first".format(FEDNODE_CONFIG_FILE))
Expand Down