Fix grouped view

This commit is contained in:
angelblue05 2016-01-08 12:25:22 -06:00
parent 54ee51232f
commit b11e9c2902
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ class LibrarySync(threading.Thread):
# This is only reserved for the detection of grouped views # This is only reserved for the detection of grouped views
if (grouped_view['Type'] == "UserView" and if (grouped_view['Type'] == "UserView" and
grouped_view.get('CollectionType') == mediatype and grouped_view.get('CollectionType') == mediatype and
grouped_view['Id'] not in grouped_view['Path']): grouped_view['Id'] not in grouped_view.get('Path', "")):
# Take the name of the userview # Take the name of the userview
foldername = grouped_view['Name'] foldername = grouped_view['Name']
break break