From 0acae4c044b7953fad85a3c5ef2ffe2058aabf79 Mon Sep 17 00:00:00 2001 From: Kashiko Koibumi Date: Fri, 31 May 2024 00:59:11 +0900 Subject: [PATCH] fix user agent display --- src/bitmessageqt/networkstatus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bitmessageqt/networkstatus.py b/src/bitmessageqt/networkstatus.py index 4d241b37..b1d88535 100644 --- a/src/bitmessageqt/networkstatus.py +++ b/src/bitmessageqt/networkstatus.py @@ -145,7 +145,7 @@ class NetworkStatus(QtWidgets.QWidget, RetranslateMixin): 0, 0, QtWidgets.QTableWidgetItem( "%s:%i" % (destination.host, destination.port))) self.tableWidgetConnectionCount.setItem( - 0, 2, QtWidgets.QTableWidgetItem("%s" % (c.userAgent))) + 0, 2, QtWidgets.QTableWidgetItem("%s" % (c.userAgent.decode("utf-8", "replace")))) self.tableWidgetConnectionCount.setItem( 0, 3, QtWidgets.QTableWidgetItem("%s" % (c.tlsVersion))) self.tableWidgetConnectionCount.setItem(