Runnable with both Python3 and Python2, with both PyQt5 and PyQt4 by using Qt.py #2250
|
@ -145,7 +145,7 @@ class NetworkStatus(QtWidgets.QWidget, RetranslateMixin):
|
||||||
0, 0, QtWidgets.QTableWidgetItem(
|
0, 0, QtWidgets.QTableWidgetItem(
|
||||||
"%s:%i" % (destination.host, destination.port)))
|
"%s:%i" % (destination.host, destination.port)))
|
||||||
self.tableWidgetConnectionCount.setItem(
|
self.tableWidgetConnectionCount.setItem(
|
||||||
0, 2, QtWidgets.QTableWidgetItem("%s" % (c.userAgent)))
|
0, 2, QtWidgets.QTableWidgetItem("%s" % (c.userAgent.decode("utf-8", "replace"))))
|
||||||
self.tableWidgetConnectionCount.setItem(
|
self.tableWidgetConnectionCount.setItem(
|
||||||
0, 3, QtWidgets.QTableWidgetItem("%s" % (c.tlsVersion)))
|
0, 3, QtWidgets.QTableWidgetItem("%s" % (c.tlsVersion)))
|
||||||
self.tableWidgetConnectionCount.setItem(
|
self.tableWidgetConnectionCount.setItem(
|
||||||
|
|
Reference in New Issue
Block a user