mirror of
https://github.com/nqrduck/LimeDriver.git
synced 2024-11-25 11:32:27 +00:00
Fix syntax error in dictionary key iteration
Corrected the for loop syntax for initializing parameters by removing an extraneous comma that caused a tuple unpacking error when iterating over dictionary keys. This change allows proper parameter initialization without errors.
This commit is contained in:
parent
a6a6705dba
commit
8f0ff4a43f
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class limr:
|
||||||
in_arg = json.loads(p.stdout.read().decode("utf-8"))
|
in_arg = json.loads(p.stdout.read().decode("utf-8"))
|
||||||
|
|
||||||
# initialize the parameters
|
# initialize the parameters
|
||||||
for key, in in_arg.keys():
|
for key in in_arg.keys():
|
||||||
in_arg[key]["argument"] = []
|
in_arg[key]["argument"] = []
|
||||||
setattr(self, key, [])
|
setattr(self, key, [])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue