Fix AttributeError

This commit is contained in:
croneter 2018-10-25 13:20:46 +02:00
parent 9bab18367c
commit 59dc295dc8

View file

@ -72,7 +72,7 @@ def sync_from_pms():
# Section has been deleted on the PMS
delete_sections(old_sections)
# update sections for all:
with plexdb.PlexDB() as plexdb:
with PlexDB() as plexdb:
SECTIONS = list(plexdb.section_infos())
utils.window('Plex.nodes.total', str(totalnodes))
LOG.info("Finished processing library sections: %s", SECTIONS)