fix: added project resolution for Anatomy

This commit is contained in:
Ondřej Samohel 2019-07-17 14:24:04 +02:00
parent 1fca72ce8c
commit e75cabd801
No known key found for this signature in database
GPG key ID: 8A29C663C672C2B7

View file

@ -201,7 +201,7 @@ class UserAssigmentEvent(BaseEvent):
data = self._get_template_data(task)
# format directories to pass to shell script
anatomy = Anatomy()
anatomy = Anatomy(data["project"]["name"])
# formatting work dir is easiest part as we can use whole path
work_dir = anatomy.format(data)['avalon']['work']
# we also need publish but not whole