From 4ddd123f516d6435f9fb6656fa3a59186756fec5 Mon Sep 17 00:00:00 2001 From: rouggy Date: Wed, 8 Dec 2021 13:34:32 +0100 Subject: [PATCH] update --- plexAutoCollectionUpdater.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plexAutoCollectionUpdater.py b/plexAutoCollectionUpdater.py index 10e6ddc..dd7a5bd 100644 --- a/plexAutoCollectionUpdater.py +++ b/plexAutoCollectionUpdater.py @@ -81,6 +81,9 @@ print(f":: {dt.now().strftime('%d-%m-%Y %H:%M:%S')} :: Checking Yaml File...") with open(Config.PlexAutoCollectionConfigFilePath, 'r') as f: try: - print(yaml.safe_load(f)) + currentYaml = yaml.safe_load(f) except yaml.YAMLError as exc: - print(exc) \ No newline at end of file + print(exc) + +for collection in currentYaml.items(): + print(collection) \ No newline at end of file