Skip to content

Commit

Permalink
fix handler.py
Browse files Browse the repository at this point in the history
  • Loading branch information
EndoNrak committed Oct 7, 2023
1 parent d77bf0a commit 78cdd9a
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@


def lambda_handler(event: dict, context):
section = event['pathParameters']['section']
response = evaluation(event, context)

for p in glob.glob("/tmp/*"):
Expand All @@ -21,9 +20,6 @@ def lambda_handler(event: dict, context):


def evaluation(event: dict, context):
section = event['pathParameters']['section']
id = event['pathParameters']['id']

python_file_path = "/tmp/main.py"
with open(python_file_path , mode='w') as f:
f.write(event["body"])
Expand Down

0 comments on commit 78cdd9a

Please sign in to comment.