mirror of
https://github.com/daylinmorgan/monolisa-nerdfont-patch.git
synced 2024-12-21 22:40:44 -06:00
fix(#7): just ignore encoding errors
This commit is contained in:
parent
52feb46c34
commit
f94b79f4f7
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ def run_cmd(
|
||||||
command,
|
command,
|
||||||
stdout=None if verbose else subprocess.PIPE,
|
stdout=None if verbose else subprocess.PIPE,
|
||||||
stderr=None if verbose else subprocess.STDOUT,
|
stderr=None if verbose else subprocess.STDOUT,
|
||||||
encoding="utf-8",
|
errors="replace", # different encoding should hopefully just result in bad UI but working fonts
|
||||||
)
|
)
|
||||||
|
|
||||||
if p.returncode != 0 and not ignore_error:
|
if p.returncode != 0 and not ignore_error:
|
||||||
|
|
Loading…
Reference in a new issue