Skip to content

Commit

Permalink
specifying type of error for ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
naokiyokoyama authored Apr 2, 2024
1 parent 93fcb70 commit 792fa54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlfm/utils/habitat_visualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def overlay_frame(frame: np.ndarray, info: Dict[str, Any], additional: Optional[
else:
try:
lines.append(f"{k}: {v:.2f}")
except:
except TypeError:
pass
if additional is not None:
lines.extend(additional)
Expand Down

0 comments on commit 792fa54

Please sign in to comment.