From e4e92b009a3ba0381c4cc044028181b2a0b3f8fa Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Thu, 6 Jan 2022 01:26:33 -0500 Subject: [PATCH] #558 fix dictionary_variables error --- plex_meta_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plex_meta_manager.py b/plex_meta_manager.py index 8b6d03f5..dbbf6a5c 100644 --- a/plex_meta_manager.py +++ b/plex_meta_manager.py @@ -627,7 +627,7 @@ def library_operations(config, library): for _i, _n in tmdb_collections.items(): if int(_i) not in library.tmdb_collections["exclude_ids"]: template = {"name": "TMDb Collection", "collection_id": _i} - for k, v in library.tmdb_collections["dictionary_variables"]: + for k, v in library.tmdb_collections["dictionary_variables"].items(): if int(_i) in v: template[k] = v[int(_i)] for suffix in library.tmdb_collections["remove_suffix"]: @@ -640,7 +640,7 @@ def library_operations(config, library): for genre in library.get_genres(): if genre not in library.genre_collections["exclude_genres"]: template = {"name": "Genre Collection", "genre": genre} - for k, v in library.genre_collections["dictionary_variables"]: + for k, v in library.genre_collections["dictionary_variables"].items(): if genre in v: template[k] = v[genre] title = library.genre_collections["title_format"]