mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
mypy: read_yaml argument should always be a string
This commit is contained in:
parent
c53a6006ce
commit
4db4338812
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ class ConfigPanel:
|
|||
|
||||
if args_file:
|
||||
# Import YAML / JSON file but keep --args values
|
||||
self.args = {**read_yaml(args_file), **self.args}
|
||||
self.args = {**read_yaml(args_file.name), **self.args}
|
||||
|
||||
if value is not None:
|
||||
self.args = {self.filter_key.split(".")[-1]: value}
|
||||
|
|
Loading…
Add table
Reference in a new issue