Merge pull request #1188 from croneter/fix-dialog

Fix sync dialog showing in certain cases even though user opted out
This commit is contained in:
croneter 2020-06-09 12:07:09 +02:00 committed by GitHub
commit 07e13e0985
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ class Sync(backgroundthread.KillableThread):
"""
if app.SYNC.run_lib_scan in ("full", "repair"):
LOG.info('Full library scan requested, starting')
self.start_library_sync(show_dialog=True,
self.start_library_sync(show_dialog=app.SYNC.run_lib_scan == 'repair',
repair=app.SYNC.run_lib_scan == 'repair',
block=True)
if (not self.sync_successful and