forked from spchuang/bruinClassAlert
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setting.py
50 lines (44 loc) · 1.49 KB
/
setting.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#NOTE: Everytime this file is updated, rerun the python scrpit again (make sure to remove classes you no longer need to target!)
#CARRIER SMS GATEWAY
ATT = "@txt.att.net"
SPRINT = "@messaging.sprintpcs.com"
TMOBILE = "@tmomail.net"
VERIZON = "@vtext.com"
#GMAIL Setting (IMPORTANT)
GMAIL_USER = "[email protected]"
GMAIL_PWD = "pwd"
#Contact Setting
EMAIL = "[email protected]"
USE_EMAIL = True
PHONE = "123456789"
USE_PHONE = True
CARRIER = "TMOBILE"
#Clases to Alert (when enroll < cap)
#sec_num: all, 1b (all checks for lecture)
#once alerted, the rule will be removed from application (in the application memory but config file is unchanged)
#-------EXAMPLE (follow the format)-------
#
# CLASSES_ALERT.append({"term" : "13W",
# "major" : "COM+SCI",
# "course" : "0112++++",
# "lec_num" : 1,
# "sec_num" : "1A",
# "alert" : "open"
# })
#
#-------------------------------------------
CHECK_EVERY_SEC = 15
CLASSES_ALERT = []
CLASSES_ALERT.append({"term" : "13W",
"major" : "COM+SCI",
"course" : "0112++++",
"lec_num" : 1,
"sec_num" : "all",
})
CLASSES_ALERT.append({"term" : "13W",
"major" : "COM+SCI",
"course" : "0143++++",
"lec_num" : 1,
"sec_num" : "1C",
})
#add more by appending to CLASSES using the same style (all fields must be filled up)