Skip to content

Commit 1b156bb

Browse files
authored
The code was initialising the same variable twice. This commit removes the redundant code.
1 parent 5b8db84 commit 1b156bb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

textract-pipeline/lambda/jobresultprocessor/lambda_function.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@ def processRequest(request):
6969
detectForms = True
7070
detectTables = True
7171

72-
dynamodb = AwsHelper().getResource('dynamodb')
73-
ddb = dynamodb.Table(outputTable)
74-
7572
opg = OutputGenerator(jobTag, pages, bucketName, objectName, detectForms, detectTables, ddb)
7673
opg.run()
7774

0 commit comments

Comments
 (0)