From: openKylin Developers <packaging@lists.openkylin.top>
Date: Mon, 1 Jun 2026 16:49:08 +0800
Subject: giobackend

---
 duplicity/backends/giobackend.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/duplicity/backends/giobackend.py b/duplicity/backends/giobackend.py
index ea6a088..1ac1ac4 100644
--- a/duplicity/backends/giobackend.py
+++ b/duplicity/backends/giobackend.py
@@ -34,7 +34,7 @@ def ensure_dbus():
     # environment points to it.
     if "DBUS_SESSION_BUS_ADDRESS" not in os.environ:
         p = subprocess.Popen(["dbus-launch"], stdout=subprocess.PIPE, universal_newlines=True)
-        output = p.communicate()[0]
+        output = p.communicate()[0].decode("utf8", errors="replace")
         lines = output.split("\n")
         for line in lines:
             parts = line.split("=", 1)
