Agent: Fix string formatting in http_tools.py

Move line 60 to f formatting from the old %s style
This commit is contained in:
vakarisz 2022-06-27 11:20:27 +03:00
parent c080f03011
commit 232d6ba344
1 changed files with 1 additions and 1 deletions

View File

@ -57,6 +57,6 @@ class HTTPTools(object):
httpd.start()
lock.acquire()
return (
"http://%s:%s/%s" % (local_ip, local_port, urllib.parse.quote(host.os["type"].value)),
f"http://{local_ip}:{local_port}/{urllib.parse.quote(host.os['type'].value)}",
httpd,
)