OxbridgeEconomics commited on
Commit
e98d2ca
·
1 Parent(s): 541436a
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -258,7 +258,7 @@ def update_content(report):
258
  # 'sentimentScore': {'N': str(Decimal(str(report['sentimentScore'])).quantize(Decimal('0.01')))},
259
  # 'sentimentLabel': {'S': report['sentimentLabel']},
260
  ':LastModifiedDate': {'S': datetime.now().strftime("%Y-%m-%dT%H:%M:%S")},
261
- ':sentimentScore': {'N': str(Decimal(str(report['sentimentscore'])).quantize(Decimal('0.01')))},
262
  ':sentimentLabel': {'S': report['sentimentlabel']}
263
  }
264
  )
 
258
  # 'sentimentScore': {'N': str(Decimal(str(report['sentimentScore'])).quantize(Decimal('0.01')))},
259
  # 'sentimentLabel': {'S': report['sentimentLabel']},
260
  ':LastModifiedDate': {'S': datetime.now().strftime("%Y-%m-%dT%H:%M:%S")},
261
+ ':sentimentScore': {'N': str(Decimal(str(report['sentimentScore'])).quantize(Decimal('0.01')))},
262
  ':sentimentLabel': {'S': report['sentimentlabel']}
263
  }
264
  )