From 807e6240d9c355eb6d82c5f612f5b964dd2bb4cb Mon Sep 17 00:00:00 2001 From: apastel Date: Sat, 22 Feb 2025 19:44:28 -0700 Subject: [PATCH] fix(cli): use utf-8 for logging encoding (should fix logging errors) --- ytmusic_deleter/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ytmusic_deleter/cli.py b/ytmusic_deleter/cli.py index 3dee01b..473e446 100644 --- a/ytmusic_deleter/cli.py +++ b/ytmusic_deleter/cli.py @@ -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: