aboutsummaryrefslogtreecommitdiffstats
path: root/examples/webchannel/standalone/dialog.py
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-05-12 14:27:15 +0200
committerCristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-05-12 20:33:36 +0200
commitc5db9d63277201ee58829f7eb0656c534d04c249 (patch)
treeef67e9547943c49497bffc52d041bb2aa93243a7 /examples/webchannel/standalone/dialog.py
parent7118ab7a34b1c3c6a9b0b1d29e0a9d2011a2d887 (diff)
examples: use f-strings
Change-Id: I0360f1476af666494c730e4f3c8f4f3c562abc09 Reviewed-by: Christian Tismer <tismer@stackless.com>
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()