fix: correct flake8 issues
This commit is contained in:
committed by
Alex Quick
parent
a22594b891
commit
fc1129c728
@@ -7,6 +7,7 @@ app = Flask(__name__)
|
|||||||
def hello():
|
def hello():
|
||||||
return 'python/flask'
|
return 'python/flask'
|
||||||
|
|
||||||
|
|
||||||
@app.route('/<env>')
|
@app.route('/<env>')
|
||||||
def get_enc(env):
|
def get_enc(env):
|
||||||
val = os.environ.get(env, None)
|
val = os.environ.get(env, None)
|
||||||
@@ -14,5 +15,3 @@ def get_enc(env):
|
|||||||
return val
|
return val
|
||||||
else:
|
else:
|
||||||
abort(404)
|
abort(404)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user