Skip to content

Commit

Permalink
Fixes seung-lab#94 - cors_webserver port needs to be type "int".
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeKamentsky committed Jun 26, 2018
1 parent 1db12f1 commit 3184e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cors_webserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__(self, server_address):

if __name__ == '__main__':
ap = argparse.ArgumentParser()
ap.add_argument('-p', '--port', default=9000, help='TCP port to listen on')
ap.add_argument('-p', '--port', type=int, default=9000, help='TCP port to listen on')
ap.add_argument('-a', '--bind', default='127.0.0.1', help='Bind address')
ap.add_argument('-d', '--directory', default='.', help='Directory to serve')

Expand Down

0 comments on commit 3184e34

Please sign in to comment.