From bdcbfa4e19175fcfd36de3acc6dc2e1194a535c1 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Fri, 3 Jun 2022 13:46:38 -0400 Subject: [PATCH] [21] fix queues --- VERSION | 2 +- modules/meta.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 96296137..5d8cc154 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.17.0-develop20 +1.17.0-develop21 diff --git a/modules/meta.py b/modules/meta.py index cf4cdd36..3956fe5e 100644 --- a/modules/meta.py +++ b/modules/meta.py @@ -45,7 +45,7 @@ def get_dict(attribute, attr_data, check_list=None, make_str=False): logger.warning(f"Config Warning: Skipping duplicate {attribute[:-1] if attribute[-1] == 's' else attribute}: {new_name}") elif _data is None: continue - elif not isinstance(_data, dict): + elif attribute != "queues" and not isinstance(_data, dict): logger.warning(f"Config Warning: {attribute[:-1] if attribute[-1] == 's' else attribute}: {_name} must be a dictionary") elif attribute == "templates": new_dict[str(_name)] = (_data, {}) @@ -1167,7 +1167,6 @@ class MetadataFile(DataFile): else: logger.warning(f"Ergast Error: No Round: {season.seasonNumber} for Season {f1_season}") - class PlaylistFile(DataFile): def __init__(self, config, file_type, path, temp_vars, asset_directory): super().__init__(config, file_type, path, temp_vars, asset_directory) @@ -1182,7 +1181,6 @@ class PlaylistFile(DataFile): raise Failed("YAML Error: playlists attribute is required") logger.info(f"Playlist File Loaded Successfully") - class OverlayFile(DataFile): def __init__(self, config, library, file_type, path, temp_vars, asset_directory): super().__init__(config, file_type, path, temp_vars, asset_directory)