Use f-strings instead of .format

This commit is contained in:
WerWolv
2022-04-12 22:27:46 +02:00
parent fe9faefd0b
commit 0359fd966a
4 changed files with 25 additions and 26 deletions

View File

@@ -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)