Merge pull request #810 from croneter/fix-futurewarning

Fix FutureWarning
This commit is contained in:
croneter 2019-03-30 17:49:57 +01:00 committed by GitHub
commit fdc82d1d5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ def sync_pms_time():
# Get all Plex libraries
sections = PF.get_plex_sections()
if not sections:
if sections is None:
LOG.error("Error download PMS views, abort sync_pms_time")
return False