Skip to content

Commit 5202022

Browse files
committed
add int wrapper for flask example
Signed-off-by: ajshedivy <[email protected]>
1 parent 8f3b4aa commit 5202022

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/flask-example/sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ def cmd_toolkit():
4747
return render_template('cmd.html', data=data)
4848

4949
app.debug = True
50-
app.run(host='0.0.0.0', port=os.getenv('PORT', '9000'),)
50+
app.run(host='0.0.0.0', port=int(os.getenv('PORT', 9000)),)

0 commit comments

Comments
 (0)