From 7affb4c52dfbc4595f3504b0f1bf69ffeed1a44c Mon Sep 17 00:00:00 2001 From: mswindler Date: Sat, 31 Aug 2019 11:16:02 -0600 Subject: [PATCH] Fix #86 --- pipe/tools/houtools/publisher/publisher.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pipe/tools/houtools/publisher/publisher.py b/pipe/tools/houtools/publisher/publisher.py index 170c622..f3923d7 100644 --- a/pipe/tools/houtools/publisher/publisher.py +++ b/pipe/tools/houtools/publisher/publisher.py @@ -4,6 +4,7 @@ from pipe.am.environment import Department from pipe.am.environment import Environment +from pipe.am import pipeline_io from pipe.am.body import Body, AssetType from pipe.am.project import Project from pipe.am.element import Element @@ -292,7 +293,9 @@ def shot_results(self, value): #Publish user = Environment().get_user() comment = "publish by " + str(user.get_username()) + " in department " + str(department) + pipeline_io.set_permissions(src) dst = self.publish_element(element, user, src, comment) + pipeline_io.set_permissions(dst) message = "Successfully published " + str(self.body.get_name()) + "!" self.print_success_message(message)