mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-21 15:32:47 +00:00
Fix duplicates in views
This commit is contained in:
parent
2677f98012
commit
f37fd7c983
3 changed files with 6 additions and 6 deletions
|
@ -246,10 +246,10 @@ def get_sync():
|
|||
except Exception:
|
||||
sync = {}
|
||||
|
||||
sync['Libraries'] = sync.get('Libraries', [])
|
||||
sync['Libraries'] = list(set(sync.get('Libraries', [])))
|
||||
sync['RestorePoint'] = sync.get('RestorePoint', {})
|
||||
sync['Whitelist'] = sync.get('Whitelist', [])
|
||||
sync['SortedViews'] = sync.get('SortedViews', [])
|
||||
sync['Whitelist'] = list(set(sync.get('Whitelist', [])))
|
||||
sync['SortedViews'] = list(set(sync.get('SortedViews', [])))
|
||||
|
||||
return sync
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue