mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
f-strings
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user