Skip to content

Commit

Permalink
Update snare (#328)
Browse files Browse the repository at this point in the history
Fixed error "The port is required to be int.".
  • Loading branch information
hrchlhck authored Jun 10, 2024
1 parent 08c69b7 commit b17fdfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/snare
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ if __name__ == '__main__':
page_group.add_argument("--page-dir", help="name of the folder to be served")
page_group.add_argument("--list-pages", help="list available pages", action='store_true')
parser.add_argument("--index-page", help="file name of the index page", default='index.html')
parser.add_argument("--port", help="port to listen on", default='8080')
parser.add_argument("--port", type=int, help="port to listen on", default='8080')
parser.add_argument("--host-ip", help="host ip to bind to", default='127.0.0.1')
parser.add_argument("--debug", help="run web server in debug mode", default=False)
parser.add_argument("--tanner", help="ip of the tanner service", default='tanner.mushmush.org')
Expand Down

0 comments on commit b17fdfe

Please sign in to comment.