mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Refactor - faster resolution of query
This commit is contained in:
parent
9f9f47145b
commit
7f0b4710f2
1 changed files with 1 additions and 1 deletions
|
|
@ -850,7 +850,7 @@ class SyncServerModule(OpenPypeModule, ITrayModule):
|
|||
|
||||
active_site = sync_settings["config"]["active_site"]
|
||||
# for Tray running background process
|
||||
if active_site == get_local_site_id() and active_site not in sites:
|
||||
if active_site not in sites and active_site == get_local_site_id():
|
||||
sites.append(active_site)
|
||||
|
||||
return sites
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue