Skip to content

Commit

Permalink
Quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AndersSeverinsen committed Apr 21, 2024
1 parent fda97cc commit 642f7e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bartenders/management/commands/generate_deposit_shifts.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def handle(self, *args, **options):

first_shift = shift

assert first_shift != None
assert len(first_shift.responsibles.all()) == 1
# assert first_shift != None
# assert len(first_shift.responsibles.all()) == 1

last_responsibles = BoardMemberDepositShift.objects.get(
start_date=first_shift.start_date - datetime.timedelta(weeks=1)
Expand Down

0 comments on commit 642f7e2

Please sign in to comment.