Make view fix less aggressive

This commit is contained in:
angelblue05 2018-09-13 01:57:57 -05:00
parent f37fd7c983
commit 3ac5c4ebb0

View file

@ -246,10 +246,10 @@ def get_sync():
except Exception: except Exception:
sync = {} sync = {}
sync['Libraries'] = list(set(sync.get('Libraries', []))) sync['Libraries'] = sync.get('Libraries', [])
sync['RestorePoint'] = sync.get('RestorePoint', {}) sync['RestorePoint'] = sync.get('RestorePoint', {})
sync['Whitelist'] = list(set(sync.get('Whitelist', []))) sync['Whitelist'] = list(set(sync.get('Whitelist', [])))
sync['SortedViews'] = list(set(sync.get('SortedViews', []))) sync['SortedViews'] = sync.get('SortedViews', [])
return sync return sync