mirror of
https://github.com/kevinveenbirkenbach/homepage.veen.world.git
synced 2026-10-26 07:52:20 +00:00
Optimized video channels
This commit is contained in:
1 parent
9f143e39b4
commit
ef0d98cdd1
2 files changed
+47
-7
No files matched your search
@@ -42,6 +42,8 @@ class ConfigurationResolver:
|
||||
if isinstance(current_config, dict):
|
||||
for key, value in list(current_config.items()):
|
||||
if key == "children":
|
||||
if value is None or not isinstance(value, list):
|
||||
raise ValueError(f"Expected 'children' to be a list, but got {type(value).__name__} instead.")
|
||||
for item in value:
|
||||
if "link" in item:
|
||||
loaded_link = self._find_entry(root_config, item['link'].lower(), False)
|
||||
|
||||
Reference in new issue
Block a user