mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
added option to receive ftrack url from settings
This commit is contained in:
parent
fce85d0694
commit
a2dbc6d51d
1 changed files with 11 additions and 0 deletions
|
|
@ -73,8 +73,19 @@ class FtrackModule(
|
|||
|
||||
ftrack_url = property(get_ftrack_url)
|
||||
|
||||
@property
|
||||
def settings_ftrack_url(self):
|
||||
"""Ftrack url from settings in a format as it is.
|
||||
|
||||
Returns:
|
||||
str: Ftrack url from settings.
|
||||
"""
|
||||
|
||||
return self._settings_ftrack_url
|
||||
|
||||
def get_global_environments(self):
|
||||
"""Ftrack's global environments."""
|
||||
|
||||
return {
|
||||
"FTRACK_SERVER": self.ftrack_url
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue