From b10d546cd1877491c7f21101ac6f7f8ae68356bb Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Fri, 14 Oct 2022 13:10:10 +0300 Subject: [PATCH] [~] Refactor --- dotfiles/.local/bin/commands | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/.local/bin/commands b/dotfiles/.local/bin/commands index 7c5dc9f..fa13b39 100755 --- a/dotfiles/.local/bin/commands +++ b/dotfiles/.local/bin/commands @@ -482,7 +482,7 @@ def http_server(argv): token = os.urandom(16).hex() print( 'access url is http://%s:%d/%s/' % ( - socket.gethostname(), + options.host, options.port, token, )