Fix daily people not showing up in the webint

This commit is contained in:
Stranck 2024-04-14 11:35:41 +02:00
parent d974870963
commit bc366c85e5
1 changed files with 1 additions and 1 deletions

2
ext.py
View File

@ -112,7 +112,7 @@ class Order:
self.room_errors = [] self.room_errors = []
self.loadAns() self.loadAns()
if(self.bed_in_room < 0): if(self.bed_in_room < 0 and not self.daily):
self.status = "canceled" # Must refer to the previous status assignment self.status = "canceled" # Must refer to the previous status assignment
def loadAns(self): def loadAns(self):
self.shirt_size = self.ans('shirt_size') self.shirt_size = self.ans('shirt_size')