summaryrefslogtreecommitdiff
path: root/kvmd/plugins/auth
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-06-28 18:59:36 +0300
committerDevaev Maxim <[email protected]>2019-06-28 18:59:36 +0300
commitef3c62a7af520673154233e2d3c89492ffec3195 (patch)
tree2b78c5918143eff8ef2c89484ac99fc6b7588438 /kvmd/plugins/auth
parentff270591b032cc1f8e342f20a04b84e5dbb31191 (diff)
f-strings
Diffstat (limited to 'kvmd/plugins/auth')
-rw-r--r--kvmd/plugins/auth/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/plugins/auth/http.py b/kvmd/plugins/auth/http.py
index bc391d79..69670b23 100644
--- a/kvmd/plugins/auth/http.py
+++ b/kvmd/plugins/auth/http.py
@@ -81,7 +81,7 @@ class Plugin(BaseAuthService):
"passwd": passwd
},
headers={
- "User-Agent": "KVMD/%s" % (__version__),
+ "User-Agent": f"KVMD/{__version__}",
"X-KVMD-User": user,
},
) as response: