From ccb7fa3e44271f645c51ad6764f8fe2e0843bf3b Mon Sep 17 00:00:00 2001 From: croneter Date: Tue, 9 Jun 2020 17:09:12 +0200 Subject: [PATCH] Fix regression: sync dialog not showing up when it should --- resources/lib/sync.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/lib/sync.py b/resources/lib/sync.py index 7e3cd9a2..562363cb 100644 --- a/resources/lib/sync.py +++ b/resources/lib/sync.py @@ -35,7 +35,9 @@ 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=app.SYNC.run_lib_scan == 'repair', + show_dialog = True if app.SYNC.run_lib_scan == 'repair' \ + else None + self.start_library_sync(show_dialog=show_dialog, repair=app.SYNC.run_lib_scan == 'repair', block=True) if (not self.sync_successful and