Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/general.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2022-08-12 22:36:06 +0200
committerGitHub <noreply@github.com>2022-08-12 22:36:06 +0200
commitb1ab5ba3723ef0d7c04b061189d5ad74cba0de8b (patch)
tree9cc76786781b1c6db23d5f439d02a7e732f3c434 /archinstall/lib/general.py
parent7b4940ef6d2ec7631e948cffe55518e75609dcf3 (diff)
Fixing double insertion of encoding in locale.gen/locale.conf (#1421)
* A temporary fix for #1200, in the long run we need something like what was mentioned in the issue comments: https://github.com/archlinux/archinstall/issues/1200#issuecomment-1212754806 * Enabled the use of modifier detection and getting it in right * Mistaken a split * Adding less strict decoding of output log, this in order to handle the more correct locale generation introduced in this PR.
Diffstat (limited to 'archinstall/lib/general.py')
-rw-r--r--archinstall/lib/general.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py
index 9edbaea8..1dc37994 100644
--- a/archinstall/lib/general.py
+++ b/archinstall/lib/general.py
@@ -444,7 +444,7 @@ class SysCommand:
def __repr__(self, *args :List[Any], **kwargs :Dict[str, Any]) -> str:
if self.session:
- return self.session._trace_log.decode('UTF-8')
+ return self.session._trace_log.decode('UTF-8', errors='backslashreplace')
return ''
def __json__(self) -> Dict[str, Union[str, bool, List[str], Dict[str, Any], Optional[bool], Optional[Dict[str, Any]]]]: