Skip to content

Commit

Permalink
fix(cli): use utf-8 for logging encoding (should fix logging errors)
Browse files Browse the repository at this point in the history
  • Loading branch information
apastel committed Feb 23, 2025
1 parent 712095b commit 807e624
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ytmusic_deleter/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def cli(ctx, log_dir, credential_dir, static_progress, no_logfile, verbose, oaut
format="[%(asctime)s] %(message)s",
datefmt="%Y-%m-%d %H:%M:%S",
handlers=handlers,
encoding="utf-8",
)

if ctx.obj is not None:
Expand Down

0 comments on commit 807e624

Please sign in to comment.