From 04ac05e13ca36454ec835fd440f90f4dcfb516a1 Mon Sep 17 00:00:00 2001 From: rouggy Date: Wed, 15 Dec 2021 17:11:16 +0100 Subject: [PATCH] update --- PlexAutoCollectionUpdater.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/PlexAutoCollectionUpdater.py b/PlexAutoCollectionUpdater.py index c4f07be..ca3fa06 100644 --- a/PlexAutoCollectionUpdater.py +++ b/PlexAutoCollectionUpdater.py @@ -32,7 +32,7 @@ logger.info(f"Retrieving {len(plexMoviesLibrary)} Movies from Plex and Updating for item in plexMoviesLibrary: movie = UpdatedMovie() tmdbMovie = Movie() - tmdbMovieDetails = object() + tmdbMovieDetails = {} movie.PlexTitle = item.title for guid in item.guids: @@ -81,8 +81,6 @@ while i < len(MoviesList): logger.info(f"Found a total of {len(MovieListFinal)} collections, updating config file now !") def UpdateYAML(configFile): - currentYaml = object() - try: with open(configFile, 'r') as f: try: