mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
check ftrack url before adding ftrackapp
This commit is contained in:
parent
1c60d72e81
commit
fce85d0694
1 changed files with 4 additions and 1 deletions
|
|
@ -510,7 +510,10 @@ def resolve_ftrack_url(url, logger=None):
|
|||
url = "https://" + url
|
||||
|
||||
ftrack_url = None
|
||||
if not url.endswith("ftrackapp.com"):
|
||||
if url and _check_ftrack_url(url):
|
||||
ftrack_url = url
|
||||
|
||||
if not ftrack_url and not url.endswith("ftrackapp.com"):
|
||||
ftrackapp_url = url + ".ftrackapp.com"
|
||||
if _check_ftrack_url(ftrackapp_url):
|
||||
ftrack_url = ftrackapp_url
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue