Verified Commit 805c37aa authored by Baptiste Beauplat's avatar Baptiste Beauplat
Browse files

Force utf-8 decoding when running an external command

parent e85d0d89
...@@ -40,5 +40,6 @@ def debexpo_exec(command, args, **kwargs): ...@@ -40,5 +40,6 @@ def debexpo_exec(command, args, **kwargs):
return check_output([command] + args, return check_output([command] + args,
timeout=timeout, timeout=timeout,
encoding='utf-8',
text=True, text=True,
**kwargs) **kwargs)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment