more
This commit is contained in:
parent
8d73be773a
commit
9c53c7e946
@ -1,7 +1,7 @@
|
||||
[config]
|
||||
dbhost = postgres.eggtech.net
|
||||
dbname = CNSA-276-FP-DAS
|
||||
[Setup]
|
||||
dbusername = FP-DEV-USER
|
||||
dbpassword = purchase-immortal-prescribe-repave-detention-seizing-candied-antiques-episode-list
|
||||
dbname = CNSA-276-FP-DAS
|
||||
dbhost = postgres.eggtech.net
|
||||
|
||||
doorID = 0
|
10
main.py
10
main.py
@ -49,11 +49,11 @@ config = configparser.ConfigParser()
|
||||
|
||||
config.read('config.ini')
|
||||
|
||||
dbusername = config.get('config', 'dbusername')
|
||||
dbpassword = config.get('config', 'dbpassword')
|
||||
dbname = config.get('config', 'dbname')
|
||||
dbhost = config.get('config', 'dbhost')
|
||||
doorID = config.get('config', 'doorID')
|
||||
dbusername = config.get('Setup', 'dbusername')
|
||||
dbpassword = config.get('Setup', 'dbpassword')
|
||||
dbname = config.get('Setup', 'dbname')
|
||||
dbhost = config.get('Setup', 'dbhost')
|
||||
doorID = config.get('Setup', 'doorID')
|
||||
|
||||
gotAaguid = None
|
||||
GPIO.setmode(GPIO.BCM)
|
||||
|
Loading…
Reference in New Issue
Block a user