This commit is contained in:
Gregory Salaun 2021-12-08 13:34:32 +01:00
parent c3afbfa5ed
commit 4ddd123f51

View File

@ -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)
print(exc)
for collection in currentYaml.items():
print(collection)