diff --git a/create_repo.py b/create_repo.py index 352be9b..f4b8658 100644 --- a/create_repo.py +++ b/create_repo.py @@ -23,7 +23,9 @@ def run_command(command): shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, - text=True + text=True, + encoding='utf-8', + errors='replace' ) if result.stdout: print(result.stdout.strip())