Skip to content

Commit

Permalink
changed / into (
Browse files Browse the repository at this point in the history
  • Loading branch information
oreny committed Aug 14, 2023
1 parent 51a462f commit 9eb48ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def __init__(
self.current_load = current_load

def hook_load(self, loaded_item: "Cargo") -> None:
if self.current_load is None \
and loaded_item.weight <= self.max_load_weight:
if (self.current_load is None) and (
loaded_item.weight <= self.max_load_weight):
self.current_load = loaded_item

def unhook_load(self) -> None:
Expand Down

0 comments on commit 9eb48ab

Please sign in to comment.