mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
OP-2951 - safer querying of tries
This commit is contained in:
parent
3f976f00d2
commit
581647a65c
1 changed files with 1 additions and 1 deletions
|
|
@ -1772,7 +1772,7 @@ class SyncServerModule(OpenPypeModule, ITrayModule):
|
|||
(int) - number of failed attempts
|
||||
"""
|
||||
_, rec = self._get_site_rec(file.get("sites", []), provider)
|
||||
return rec.get("tries", 0)
|
||||
return self._get_tries_count_from_rec(rec)
|
||||
|
||||
def _get_progress_dict(self, progress):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue