Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions python/tk_multi_snapshot/snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,9 +430,10 @@ def show_snapshot_dlg(self):
msg = "Unable to snapshot!\n\nPlease save the scene as a valid work file before continuing"
QtGui.QMessageBox.information(None, "Unable To Snapshot!", msg)

# try to launch "Shotgun Save As" command if we have it:
save_as_cmd = tank.platform.current_engine().commands.get(
"Shotgun Save As..."
# try to launch "SG Save As" command if we have it:
save_as_cmd = (
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Black would make changes.

tank.platform.current_engine().commands.get("SG Save As...") or
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

continuation line over-indented for hanging indent
line break after binary operator

tank.platform.current_engine().commands.get("Shotgun Save As...")
)
if not save_as_cmd:
# try old name, just in case
Expand Down