Skip to content

Commit

Permalink
Fix formatting typo in cli.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ehanson8 committed Feb 8, 2022
1 parent 851fbdc commit e680112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awd/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def listen(
.get("PackageID", {})
.get("StringValue")
)
if "'ResultType': 'error'" in message["Body"]:
if '"ResultType": "error"' in message.get("Body"):
logger.error(f'DOI: {doi}, Result: {message.get("Body")}')
sqs.delete(
ctx.obj["sqs_base_url"],
Expand Down

0 comments on commit e680112

Please sign in to comment.