From 1ed32627c55272267f2f6c1d16f6f96bec51d95b Mon Sep 17 00:00:00 2001 From: Jakub Trllo Date: Wed, 8 May 2019 10:14:44 +0200 Subject: [PATCH] bug fixed ftrack_api symbol not used from imported module but directly imported --- pype/ftrack/lib/ftrack_base_handler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pype/ftrack/lib/ftrack_base_handler.py b/pype/ftrack/lib/ftrack_base_handler.py index cfe89a4d40..29395fc874 100644 --- a/pype/ftrack/lib/ftrack_base_handler.py +++ b/pype/ftrack/lib/ftrack_base_handler.py @@ -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)