From 4f90a4984a82cc77ef98a62b814aedbff4d30216 Mon Sep 17 00:00:00 2001 From: Milan Kolar Date: Tue, 30 Oct 2018 15:40:12 +0100 Subject: [PATCH] fix user registration on actions --- pype/ftrack/actions/ftrack_action_handler.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pype/ftrack/actions/ftrack_action_handler.py b/pype/ftrack/actions/ftrack_action_handler.py index 992b455e5b..1cd18c184c 100644 --- a/pype/ftrack/actions/ftrack_action_handler.py +++ b/pype/ftrack/actions/ftrack_action_handler.py @@ -343,7 +343,9 @@ class BaseAction(object): def register(self): '''Registers the action, subscribing the the discover and launch topics.''' self.session.event_hub.subscribe( - 'topic=ftrack.action.discover', self._discover + 'topic=ftrack.action.discover and source.user.username={0}'.format( + self.session.api_user + ), self._discover ) self.session.event_hub.subscribe(