From 6f321e5a1ffb0806cadd9c9da187b608b718f302 Mon Sep 17 00:00:00 2001 From: rouggy Date: Wed, 8 Dec 2021 13:36:49 +0100 Subject: [PATCH] update --- plexAutoCollectionUpdater.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/plexAutoCollectionUpdater.py b/plexAutoCollectionUpdater.py index dd7a5bd..d09afb4 100644 --- a/plexAutoCollectionUpdater.py +++ b/plexAutoCollectionUpdater.py @@ -75,9 +75,8 @@ for movie in MovieCollectionFinal: nameLength = len(movie) coll.collectionTitle = movie.name[:nameLength - 13] coll.collectionId = movie.id - print(f"Collection {coll.collectionTitle} with Id: {coll.collectionId} has been added") -print(f":: {dt.now().strftime('%d-%m-%Y %H:%M:%S')} :: Checking Yaml File...") +print(f":: {dt.now().strftime('%d-%m-%Y %H:%M:%S')} :: CollectionUpdater :: Checking Yaml File...") with open(Config.PlexAutoCollectionConfigFilePath, 'r') as f: try: @@ -85,5 +84,5 @@ with open(Config.PlexAutoCollectionConfigFilePath, 'r') as f: except yaml.YAMLError as exc: print(exc) -for collection in currentYaml.items(): - print(collection) \ No newline at end of file +for collection, movies in currentYaml.items(): + print(movies) \ No newline at end of file