diff options
| author | WerWolv <werwolv98@gmail.com> | 2022-04-12 22:27:46 +0200 |
|---|---|---|
| committer | WerWolv <werwolv98@gmail.com> | 2022-04-12 22:27:46 +0200 |
| commit | 0359fd966a5a33cd646202d0349ad5bdf01a6d1a (patch) | |
| tree | 14d5b2948f5b042f59c924f64bb65dcd223e4ac4 /plugin_loader/main.py | |
| parent | fe9faefd0bb01212299259bcdcc431d24493d963 (diff) | |
| download | decky-loader-0359fd966a5a33cd646202d0349ad5bdf01a6d1a.tar.gz decky-loader-0359fd966a5a33cd646202d0349ad5bdf01a6d1a.zip | |
Use f-strings instead of .format
Diffstat (limited to 'plugin_loader/main.py')
| -rw-r--r-- | plugin_loader/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
