forked from p15670423/monkey
Agent: Fix string formatting in http_tools.py
Move line 60 to f formatting from the old %s style
This commit is contained in:
parent
c080f03011
commit
232d6ba344
|
@ -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,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue