forgot .when.
This commit is contained in:
parent
4aeb1b566d
commit
36fef3b4ea
|
@ -41,7 +41,7 @@ class Command(BaseCommand):
|
|||
when__adjacent_to=instance.when,
|
||||
available=True,
|
||||
)
|
||||
if sa.when.lower == instance.upper:
|
||||
if sa.when.lower == instance.when.upper:
|
||||
# this availability begins when the instance ends
|
||||
sa.when = (instance.when.lower, sa.when.upper)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue