forked from external/yambar
config: backlight: content doesn't have to be a dictionary
And, particle_from_config() will take care of asserting on the correct type anyway.
This commit is contained in:
parent
67767e6f54
commit
706313b1e5
1 changed files with 0 additions and 1 deletions
1
config.c
1
config.c
|
@ -513,7 +513,6 @@ module_backlight_from_config(const struct yml_node *node,
|
|||
const struct yml_node *c = yml_get_value(node, "content");
|
||||
|
||||
assert(yml_is_scalar(name));
|
||||
assert(yml_is_dict(c));
|
||||
|
||||
return module_backlight(
|
||||
yml_value_as_string(name), particle_from_config(c, parent_font));
|
||||
|
|
Loading…
Add table
Reference in a new issue