Fix resume sync behavior

Allow to complete the startup sync in the event user backs out of resume sync
This commit is contained in:
angelblue05 2018-10-10 16:42:46 -05:00
parent b4791b1412
commit d251db8d1a

View file

@ -298,7 +298,15 @@ class Library(threading.Thread):
Views().get_nodes() Views().get_nodes()
try: try:
if get_sync()['Libraries'] or not settings('SyncInstallRunDone.bool'): if get_sync()['Libraries']:
try:
FullSync(self)
Views().get_nodes()
except Exception as error:
LOG.error(error)
elif not settings('SyncInstallRunDone.bool'):
FullSync(self) FullSync(self)
Views().get_nodes() Views().get_nodes()