Rename variable 'filename' to 'file_name'

This fixes https://github.com/meshcore-dev/meshcore-cli/issues/57
This commit is contained in:
Florian Auer 2026-04-13 11:19:12 +02:00 committed by GitHub
parent 2bb2dfff02
commit efe06faba3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3606,7 +3606,7 @@ async def next_cmd(mc, cmds, json_output=False):
case "script" :
if len(cmds) > 1:
argnum = 1
filename = cmds[1]
file_name = cmds[1]
else:
file_name = await prompt_for_file()
if not file_name is None: