Skip to content

Commit

Permalink
port needs to be an int
Browse files Browse the repository at this point in the history
  • Loading branch information
edsu committed Apr 23, 2019
1 parent 1367483 commit c364e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Omas/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,5 +202,5 @@ def information(meipath):

if __name__ == "__main__":
host = os.environ.get('OMAS_HOST', '127.0.0.1')
port = os.environ.get('OMAS_PORT', 5000)
port = int(os.environ.get('OMAS_PORT', 5000))
app.run(host=host, port=port, debug=True)

0 comments on commit c364e2c

Please sign in to comment.