17 lines
538 B
Diff
17 lines
538 B
Diff
boom/bootloader.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/boom/bootloader.py b/boom/bootloader.py
|
|
index e0367cb..3d8eede 100644
|
|
--- a/boom/bootloader.py
|
|
+++ b/boom/bootloader.py
|
|
@@ -352,7 +352,7 @@ def _grub2_get_env(name):
|
|
_log_error("Could not obtain grub2 environment: %s" % e)
|
|
return ""
|
|
|
|
- for line in out.splitlines():
|
|
+ for line in out.decode('utf8').splitlines():
|
|
(env_name, value) = line.split('=', 1)
|
|
if name == env_name:
|
|
return value.strip()
|