should check syntax before pushing lol
This commit is contained in:
parent
0ebf221c9c
commit
1b2394f616
@ -274,7 +274,7 @@ if __name__ == "__main__":
|
|||||||
"--bind-address",
|
"--bind-address",
|
||||||
type=str,
|
type=str,
|
||||||
default="0.0.0.0",
|
default="0.0.0.0",
|
||||||
destination="bind_addr"
|
dest="bind_addr",
|
||||||
help="Address to bind on (default: 0.0.0.0)"
|
help="Address to bind on (default: 0.0.0.0)"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -295,7 +295,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
file_server = HttpFileServer(args.address, args.port)
|
file_server = HttpFileServer(args.bind_addr, args.port)
|
||||||
ip_address = util.get_address()
|
ip_address = util.get_address()
|
||||||
|
|
||||||
if args.action == "shell":
|
if args.action == "shell":
|
||||||
|
Loading…
Reference in New Issue
Block a user