aboutsummaryrefslogtreecommitdiffstats
path: root/examples/webchannel/standalone/dialog.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webchannel/standalone/dialog.py')
-rw-r--r--examples/webchannel/standalone/dialog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webchannel/standalone/dialog.py b/examples/webchannel/standalone/dialog.py
index 2db033fcd..886a323f8 100644
--- a/examples/webchannel/standalone/dialog.py
+++ b/examples/webchannel/standalone/dialog.py
@@ -64,5 +64,5 @@ class Dialog(QDialog):
if not text:
return
self.sendText.emit(text)
- self.displayMessage("Sent message: {}".format(text))
+ self.displayMessage(f"Sent message: {text}")
self._ui.input.clear()