f-strings

This commit is contained in:
Devaev Maxim
2019-06-28 18:59:36 +03:00
parent ff270591b0
commit ef3c62a7af
15 changed files with 40 additions and 38 deletions

View File

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