Fix views

Alright get rid of the duplicate in the add-on entrypoint
This commit is contained in:
angelblue05 2016-02-19 17:34:22 -06:00
parent 663fe1f563
commit 2f3d9c4a60
2 changed files with 6 additions and 1 deletions

View file

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