aboutsummaryrefslogtreecommitdiffstats
path: root/examples/network/threadedfortuneserver/threadedfortuneserver.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/threadedfortuneserver/threadedfortuneserver.py')
-rw-r--r--examples/network/threadedfortuneserver/threadedfortuneserver.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/network/threadedfortuneserver/threadedfortuneserver.py b/examples/network/threadedfortuneserver/threadedfortuneserver.py
index c42103073..f79573d69 100644
--- a/examples/network/threadedfortuneserver/threadedfortuneserver.py
+++ b/examples/network/threadedfortuneserver/threadedfortuneserver.py
@@ -56,7 +56,7 @@ class FortuneThread(QThread):
error = Signal(QTcpSocket.SocketError)
def __init__(self, socketDescriptor, fortune, parent):
- super(FortuneThread, self).__init__(parent)
+ super().__init__(parent)
self._socket_descriptor = socketDescriptor
self.text = fortune
@@ -100,7 +100,7 @@ class FortuneServer(QTcpServer):
class Dialog(QDialog):
def __init__(self, parent=None):
- super(Dialog, self).__init__(parent)
+ super().__init__(parent)
self.server = FortuneServer()