mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merged in hotfix/PYPE-317_ftrack_api_symbol_bug (pull request #131)
hotfix/PYPE-317_ftrack_api_symbol_bug
This commit is contained in:
commit
2006b4d29a
1 changed files with 2 additions and 1 deletions
|
|
@ -2,6 +2,7 @@ import functools
|
|||
import time
|
||||
from pype import api as pype
|
||||
from pype.vendor import ftrack_api
|
||||
from pype.vendor.ftrack_api.symbol import NOT_SET as ftrack_api_NOT_SET
|
||||
|
||||
|
||||
class MissingPermision(Exception):
|
||||
|
|
@ -196,7 +197,7 @@ class BaseHandler(object):
|
|||
_entities = event['data'].get('entities_object', None)
|
||||
if (
|
||||
_entities is None or
|
||||
_entities[0].get('link', None) == ftrack_api.symbol.NOT_SET
|
||||
_entities[0].get('link', None) == ftrack_api_NOT_SET
|
||||
):
|
||||
_entities = self._get_entities(event)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue