We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f948117 commit a93dd5fCopy full SHA for a93dd5f
firefly_cli/cli.py
@@ -104,7 +104,7 @@ def do_edit(self, argslist):
104
f"The command 'edit' takes exactly two arguments. Provided: {' '.join(argslist)}"
105
)
106
else:
107
- if argslist[0] == "url" or argslist[0] == "api_token":
+ if argslist[0].casefold() == "url" or argslist[0].casefold() == "api_token":
108
self.configs["firefly-cli"][argslist[0]] = argslist[1]
109
save_configs_to_file(self.configs)
110
self.api = FireflyAPI.refresh_api(self.configs)
0 commit comments