Skip to content

Commit

Permalink
Formatted with black and small fix for show in ShotGrid action
Browse files Browse the repository at this point in the history
  • Loading branch information
gillesvink committed Nov 1, 2021
1 parent 2db01cf commit d19942d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hooks/tk-multi-publish2/basic/submit_for_review.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ def accept(self, settings, item):
output_fields = output_template.get_fields(path)
print(output_fields)

render_name = output_fields.get('output')
render_name = output_fields.get("output")
print("Render name: %s" % str(render_name))

checked_filenames = ('main', 'output')
checked_filenames = ("main", "output")

if render_name in checked_filenames:
checked = True
Expand Down Expand Up @@ -259,7 +259,7 @@ def publish(self, settings, item):
self.logger.info(
"Version uploaded for file: %s" % (render_path,),
extra={
"action_show_in_ShotGrid": {
"action_show_in_shotgun": {
"label": "Show Version",
"tooltip": "Reveal the version in ShotGrid.",
"entity": version,
Expand Down

0 comments on commit d19942d

Please sign in to comment.