Change days have a value of 0.5 instead of 2

This commit is contained in:
Johannes Rothe 2022-01-16 18:29:20 +01:00
parent 8f4fc97da0
commit 11dd02d3c7

View File

@ -18,12 +18,12 @@ DATA_URL = (
)
FROM = 0
TO = 2000
STATUS_MAPPING = {"DayF": 0, "DayB": 1, "DayFB": 2, "DayBF": 2}
STATUS_MAPPING = {"DayF": 0, "DayB": 1, "DayFB": 0.5, "DayBF": 0.5}
class Availability(BaseModel):
date: datetime
status: int
status: float
class Entry(BaseModel):