From 0359fd966a5a33cd646202d0349ad5bdf01a6d1a Mon Sep 17 00:00:00 2001 From: WerWolv Date: Tue, 12 Apr 2022 22:27:46 +0200 Subject: Use f-strings instead of .format --- plugin_loader/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin_loader/main.py') diff --git a/plugin_loader/main.py b/plugin_loader/main.py index 1d622098..37a4ad1d 100644 --- a/plugin_loader/main.py +++ b/plugin_loader/main.py @@ -53,7 +53,7 @@ class PluginManager: "id": 1, "method": "Runtime.evaluate", "params": { - "expression": "resolveMethodCall({}, {})".format(call_id, dumps(response)), + "expression": f"resolveMethodCall({call_id}, {dumps(response)})", "userGesture": True } }, receive=False) -- cgit v1.2.3