Fix TypeError when canceling Plex sync section dialog

This commit is contained in:
croneter 2020-11-06 15:57:24 +01:00
parent 3fd9fc4e3f
commit e551a9451a

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