From 06a0a61f81564daae2f7fe2dbf84a2b9d1ff6b2e Mon Sep 17 00:00:00 2001 From: HSheela <158300903+HSheela@users.noreply.github.com> Date: Wed, 31 Jan 2024 17:03:09 +0100 Subject: [PATCH] Update main.py --- main.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/main.py b/main.py index 3a9f5c6..e075a95 100644 --- a/main.py +++ b/main.py @@ -9,10 +9,8 @@ def never_called(bla): - aws_access_token = os.getenv("AWS_ACCESS_TOKEN") - command = ['echo', str(aws_access_token)] - subprocess.Popen(command) - # os.subprocess.Popen('echo ${}'.format(aws_access_token), shell=True) + aws_access_token = "AKIALALEMEL33243OLIB" + os.subprocess.Popen('echo ${}'.format(aws_access_token), shell=True) def serve_image(state): @@ -33,7 +31,7 @@ def hello_world(): def main(): - app.run(debug=False) + app.run(debug=True)