forked from rDrama/rDrama
fsd
parent
25f25da4f1
commit
cb7cfcf73e
|
@ -36,6 +36,14 @@ CF_KEY = environ.get("CF_KEY", "").strip()
|
||||||
CF_ZONE = environ.get("CF_ZONE", "").strip()
|
CF_ZONE = environ.get("CF_ZONE", "").strip()
|
||||||
CF_HEADERS = {"Authorization": f"Bearer {CF_KEY}", "Content-Type": "application/json"}
|
CF_HEADERS = {"Authorization": f"Bearer {CF_KEY}", "Content-Type": "application/json"}
|
||||||
|
|
||||||
|
discounts = {
|
||||||
|
69: 0.02,
|
||||||
|
70: 0.04,
|
||||||
|
71: 0.06,
|
||||||
|
72: 0.08,
|
||||||
|
73: 0.10,
|
||||||
|
}
|
||||||
|
|
||||||
def ghost_price(v):
|
def ghost_price(v):
|
||||||
if v.patron == 1: discount = 0.90
|
if v.patron == 1: discount = 0.90
|
||||||
elif v.patron == 2: discount = 0.85
|
elif v.patron == 2: discount = 0.85
|
||||||
|
|
Loading…
Reference in New Issue