Fixed all pep8 warnings
This commit is contained in:
2
app.py
2
app.py
@@ -14,7 +14,7 @@ def main():
|
||||
|
||||
# Set app secret key to sign session cookies
|
||||
secret_key = environ.get("APPSECRET")
|
||||
if secret_key == None:
|
||||
if secret_key is None:
|
||||
# NO Secret Key set!
|
||||
print("No app secret set, please set one before deploying in production")
|
||||
app.secret_key = "DEFAULTKEY"
|
||||
|
||||
Reference in New Issue
Block a user