Skip to content

Commit

Permalink
blender example: do not overwrite blender example debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
tworec committed Apr 27, 2021
1 parent 346f22c commit 00baca9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/blender/blender.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ async def worker(ctx: WorkContext, tasks):

if __name__ == "__main__":
parser = build_parser("Render a Blender scene")
parser.set_defaults(log_file="blender-yapapi.log")
now = datetime.datetime.now().strftime("%Y-%m-%d_%H.%M.%S")
parser.set_defaults(log_file=f"blender-yapapi-{now}.log")
args = parser.parse_args()

# This is only required when running on Windows with Python prior to 3.8:
Expand Down

0 comments on commit 00baca9

Please sign in to comment.