mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
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():
|
||||
return 'python/flask'
|
||||
|
||||
|
||||
@app.route('/<env>')
|
||||
def get_enc(env):
|
||||
val = os.environ.get(env, None)
|
||||
@@ -14,5 +15,3 @@ def get_enc(env):
|
||||
return val
|
||||
else:
|
||||
abort(404)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user