Skip to content

Commit

Permalink
fix grammar issue with export duration message
Browse files Browse the repository at this point in the history
  • Loading branch information
timhendriks93 committed May 18, 2024
1 parent 8089572 commit c6ce05c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon/ops/arduino_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,5 @@ def format_scene_name(cls):

if scene_name[0].isdigit():
scene_name = '_' + scene_name

return scene_name
3 changes: 2 additions & 1 deletion addon/ops/base_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ def execute(self, context):

end = time.time()
duration = round(end - start)
unit = "second" if duration == 1 else "seconds"
self.report(
{'INFO'}, f"Animation servo positions exported after {duration} seconds")
{'INFO'}, f"Animation servo positions exported after {duration} {unit}")

return {'FINISHED'}

Expand Down

0 comments on commit c6ce05c

Please sign in to comment.