Skip to content

Commit

Permalink
[IMP]Fix precommit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chanakya-OSI committed Dec 12, 2022
1 parent be715cd commit 8e2b134
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stock_cycle_count/models/stock_cycle_count_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def _compute_rule_periodic(self, locs):
"cycle count rule. %s"
)
% str(e)
)
) from e
else:
next_date = datetime.today()
cycle_count = self._propose_cycle_count(next_date, loc)
Expand Down Expand Up @@ -251,7 +251,7 @@ def _compute_rule_turnover(self, locs):
"rule threshold. %s"
)
% str(e)
)
) from e
else:
next_date = datetime.today()
cycle_count = self._propose_cycle_count(next_date, loc)
Expand Down

0 comments on commit 8e2b134

Please sign in to comment.