Skip to content

Commit

Permalink
chore: code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Ritvik Sardana authored and Ritvik Sardana committed Aug 14, 2023
1 parent 68df3f9 commit d4cc9da
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def get_test_item_qty(pos_profile):
item_group="All Item Groups",
)

test_item_qty = [item for item in test_item_pos["items"] if item["item_code"] == "_Test Item"][0][
"actual_qty"
]
test_item_qty = [item for item in test_item_pos["items"] if item["item_code"] == "_Test Item"][
0
].get("actual_qty")
return test_item_qty

0 comments on commit d4cc9da

Please sign in to comment.