Skip to content

Commit

Permalink
linting: typo-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
torzdf committed Apr 16, 2024
1 parent 1c081ae commit 3d5b962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/manual/frameviewer/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,12 +479,12 @@ def _add_static_buttons(self):
for action in ("copy_prev", "copy_next", "reload"):
if action == "reload":
icon = "reload3"
cmd = lambda f=tk_frame_index: self._det_faces.revert_to_saved(f.get()) # noqa=E731 # pylint:disable=line-too-long,unnecessary-lambda-assignment
cmd = lambda f=tk_frame_index: self._det_faces.revert_to_saved(f.get()) # noqa:E731 # pylint:disable=line-too-long,unnecessary-lambda-assignment
helptext = _("Revert to saved Alignments ({})").format(lookup[action][1])
else:
icon = action
direction = action.replace("copy_", "")
cmd = lambda f=tk_frame_index, d=direction: self._det_faces.update.copy( # noqa=E731 # pylint:disable=line-too-long,unnecessary-lambda-assignment
cmd = lambda f=tk_frame_index, d=direction: self._det_faces.update.copy( # noqa:E731 # pylint:disable=line-too-long,unnecessary-lambda-assignment
f.get(), d)
helptext = _("Copy {} Alignments ({})").format(*lookup[action])
state = ["!disabled"] if action == "copy_next" else ["disabled"]
Expand Down

0 comments on commit 3d5b962

Please sign in to comment.