Skip to content

Commit

Permalink
Added support for comments in the publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
gillesvink committed Nov 25, 2021
1 parent f1f7a30 commit 01185cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/tk_multi_deadlinereviewsubmission/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ def submit_to_deadline(
render_path = self.__app.get_template("review_output_path")
render_path = render_path.apply_fields(fields)

if comment is None:
comment = " "

### Getting system data
# Location of deadline installation
deadline_path = os.getenv("DEADLINE_PATH")
Expand Down Expand Up @@ -106,6 +109,7 @@ def submit_to_deadline(
"CompanyName=" + company_name,
"ProjectName=" + project_name,
"Artist=" + user_name,
"Description=" + comment,
"ShotGridVersion=" + str(entity_version),
"FileName=" + filename,
]
Expand Down

0 comments on commit 01185cd

Please sign in to comment.