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