only formatting hopefully
This commit is contained in:
parent
025c87216d
commit
8ad5f1964e
9 changed files with 241 additions and 198 deletions
|
|
@ -10,16 +10,16 @@ SERVICE_ID = "601"
|
|||
# RESOURCE_ID =15994 # 91 height adjustable desk
|
||||
# RESOURCE_ID =16402 # 222 study room
|
||||
# RESOURCE_ID =15883 #66 second best
|
||||
RESOURCE_ID =15502 # 17 cool snipe with view
|
||||
RESOURCE_ID = 15502 # 17 cool snipe with view
|
||||
|
||||
TIMEZONE = "Europe/Berlin"
|
||||
# SSO_PROVIDER = "kit" # Available: kit (add more in auth/providers/)
|
||||
SSO_PROVIDER = "tum" # Available: kit (add more in auth/providers/)
|
||||
|
||||
DEFAULT_HEADERS = {
|
||||
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0',
|
||||
'accept': 'application/vnd.api+json',
|
||||
'accept-encoding': 'plain'
|
||||
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0",
|
||||
"accept": "application/vnd.api+json",
|
||||
"accept-encoding": "plain",
|
||||
}
|
||||
|
||||
# Booking time slots (in order of priority)
|
||||
|
|
@ -39,28 +39,22 @@ DEFAULT_HEADERS = {
|
|||
|
||||
BOOKING_TIMES = [
|
||||
# SNIPE
|
||||
# {
|
||||
# 'start': '13:00:00',
|
||||
# 'end': '18:00:00'
|
||||
# },
|
||||
# {
|
||||
# 'start': '13:00:00',
|
||||
# 'end': '18:00:00'
|
||||
# },
|
||||
# BEST
|
||||
# {
|
||||
# 'start': '12:00:00',
|
||||
# 'end': '22:00:00'
|
||||
# },
|
||||
# {
|
||||
# 'start': '12:00:00',
|
||||
# 'end': '22:00:00'
|
||||
# },
|
||||
# OPTIMAL
|
||||
# 40/7=5.7
|
||||
{
|
||||
'start': '12:00:00',
|
||||
'end': '17:30:00'
|
||||
},
|
||||
|
||||
|
||||
{"start": "12:00:00", "end": "17:30:00"},
|
||||
# {
|
||||
# 'start': '12:00:00',
|
||||
# 'end': '22:00:00'
|
||||
# },
|
||||
|
||||
# {
|
||||
# 'start': '22:30:00',
|
||||
# 'end': '23:30:00'
|
||||
|
|
@ -73,3 +67,4 @@ BOOKING_TIMES = [
|
|||
# 'start': '20:00:00',
|
||||
# 'end': '23:45:00'
|
||||
# },
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue