SyncServer - sync_project_settings now contains all projects, must skip disabled explicitly

This commit is contained in:
Petr Kalis 2021-05-11 12:12:39 +02:00
parent c039d7fe5d
commit e4b51604ad

View file

@ -274,6 +274,9 @@ class SyncServerThread(threading.Thread):
self.module.set_sync_project_settings() # clean cache
for collection, preset in self.module.sync_project_settings.\
items():
if collection not in self.module.get_enabled_projects():
continue
start_time = time.time()
local_site, remote_site = self._working_sites(collection)
if not all([local_site, remote_site]):