Merge pull request #810 from croneter/fix-futurewarning
Fix FutureWarning
This commit is contained in:
commit
fdc82d1d5b
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ def sync_pms_time():
|
||||||
|
|
||||||
# Get all Plex libraries
|
# Get all Plex libraries
|
||||||
sections = PF.get_plex_sections()
|
sections = PF.get_plex_sections()
|
||||||
if not sections:
|
if sections is None:
|
||||||
LOG.error("Error download PMS views, abort sync_pms_time")
|
LOG.error("Error download PMS views, abort sync_pms_time")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue