Skip to content

Commit

Permalink
Merge pull request #26 from sysrex/master
Browse files Browse the repository at this point in the history
fixing #25 Error: secret key not set in flask session
  • Loading branch information
anfederico committed Sep 15, 2019
2 parents 786793d + 7544d73 commit d44d65c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Expand Up @@ -9,6 +9,7 @@
import os

app = Flask(__name__)
app.secret_key = os.urandom(12) # Generic key for dev purposes only

# Heroku
#from flask_heroku import Heroku
Expand Down Expand Up @@ -80,5 +81,4 @@ def settings():

# ======== Main ============================================================== #
if __name__ == "__main__":
app.secret_key = os.urandom(12) # Generic key for dev purposes only
app.run(debug=True, use_reloader=True)

0 comments on commit d44d65c

Please sign in to comment.