This commit is contained in:
Petr Kalis 2020-12-09 12:07:22 +01:00
parent f941917dab
commit 7a6cdd7353

View file

@ -108,11 +108,12 @@ class SyncServer():
self.sync_server_thread = SyncServerThread(self)
except ValueError:
log.info("No system setting for sync. Not syncing.")
except KeyError as exp:
log.info(("There are not set presets for SyncServer OR "
"Credentials provided are invalid, "
"no syncing possible").
format(str(self.presets)), exc_info=True)
except KeyError:
log.info((
"There are not set presets for SyncServer OR "
"Credentials provided are invalid, "
"no syncing possible").
format(str(self.presets)), exc_info=True)
def get_synced_presets(self):
"""
@ -217,7 +218,6 @@ class SyncServer():
self.connection.Session["AVALON_PROJECT"] = collection
# retry_cnt - number of attempts to sync specific file before giving up
retries_arr = self._get_retries_arr(collection)
#active_providers_str = ",".join(remote_site)
query = {
"type": "representation",
"$or": [