From 1b2394f616d63d3b6fa8292856a7f7e0285a9740 Mon Sep 17 00:00:00 2001 From: Roman Hergenreder Date: Fri, 13 Oct 2023 20:35:06 +0200 Subject: [PATCH] should check syntax before pushing lol --- fileserver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fileserver.py b/fileserver.py index 119fe4e..23f3b74 100755 --- a/fileserver.py +++ b/fileserver.py @@ -274,7 +274,7 @@ if __name__ == "__main__": "--bind-address", type=str, default="0.0.0.0", - destination="bind_addr" + dest="bind_addr", help="Address to bind on (default: 0.0.0.0)" ) @@ -295,7 +295,7 @@ if __name__ == "__main__": args = parser.parse_args() - file_server = HttpFileServer(args.address, args.port) + file_server = HttpFileServer(args.bind_addr, args.port) ip_address = util.get_address() if args.action == "shell":