Skip to content

Commit

Permalink
Whitespace and path_warning using str.format
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Yu committed Aug 11, 2021
1 parent 3c1cedc commit 272992a
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions python/tk_nuke_writenode/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1539,21 +1539,15 @@ def __update_render_path(self, node, force_reset=False, is_proxy=False):

# render path could not be computed for some reason - display warning
# to the user in the property editor:
path_warning += (
path_warning += "{0}<br><br>&nbsp;&nbsp;&nbsp;{1}<br>".format(
"<br>".join(
self.__wrap_text(
"The render path is currently frozen because Toolkit could not "
"determine a valid path! This was due to the following problem:",
60,
)
)
+ "<br>"
)
path_warning += "<br>"
path_warning += (
"&nbsp;&nbsp;&nbsp;"
+ " <br>&nbsp;&nbsp;&nbsp;".join(self.__wrap_text(str(e), 57))
+ " <br>"
),
" <br>&nbsp;&nbsp;&nbsp;".join(self.__wrap_text(str(e), 57)),
)

if cached_path:
Expand Down

0 comments on commit 272992a

Please sign in to comment.