zulip_botserver: Enforce that port argument is an int.

This commit is contained in:
Tim Abbott 2018-05-15 12:31:09 -07:00
parent 5ef224f2a2
commit 70dd05e5a6

View file

@ -129,6 +129,7 @@ def parse_args() -> argparse.Namespace:
parser.add_argument('--port', parser.add_argument('--port',
action='store', action='store',
default=5002, default=5002,
type=int,
help='Port on which you want to run the server') help='Port on which you want to run the server')
return parser.parse_args() return parser.parse_args()