mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 16:41:11 +02:00
Break down print line
This commit is contained in:
parent
4a8a07db9d
commit
789ba52541
|
@ -464,7 +464,10 @@ def main():
|
||||||
|
|
||||||
httpd = socketserver.TCPServer(("", args.port), handler)
|
httpd = socketserver.TCPServer(("", args.port), handler)
|
||||||
try:
|
try:
|
||||||
print(f"Serving HTTP at port {args.port} (http://localhost:{args.port}/) ...")
|
print(
|
||||||
|
f'Serving HTTP at port {args.port} '
|
||||||
|
f'(http://localhost:{args.port}/) ...'
|
||||||
|
)
|
||||||
httpd.serve_forever()
|
httpd.serve_forever()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue
Block a user