Skip to content

Integers not interpreted as integers #1

@PyDever

Description

@PyDever

Integers are currently not interpreted as integers.



from flask import Flask 
import cookie

app = Flask(__name__)

@app.route('/')
def home_page ():
	return "Hello, world!"

@cookie.cookie
def run (port=None):
	app.run(debug=True, port=port)

if __name__ == "__main__":
	run() 

the above snippet WILL NOT WORK unless you first
convert port to an integer using int().

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is neededquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions