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
1 changed files with 1 additions and 1 deletions

View File

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