Skip to content

Commit

Permalink
refactoring is condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Signorini committed Mar 31, 2020
1 parent 7dc2fb0 commit ec23e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/guestEntry.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def get_entries(self):
return self._items

def multiple(self, n):
if n % self.max is 0:
if n % self.max == 0:
return n

return n + (self.max - n % self.max)
Expand Down

0 comments on commit ec23e4e

Please sign in to comment.