Merge pull request #1237 from croneter/fix_typeerror

Fix TypeError when canceling Plex sync section dialog
This commit is contained in:
croneter 2020-12-18 15:53:12 +01:00 committed by GitHub
commit e5e92b851a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -578,7 +578,7 @@ def _choose_libraries(sections):
selectable_sections, selectable_sections,
preselect=preselected, preselect=preselected,
useDetails=False) useDetails=False)
if selectable_sections is None: if selected_sections is None:
LOG.info('User chose not to select which libraries to sync') LOG.info('User chose not to select which libraries to sync')
return False return False
index = 0 index = 0