This commit is contained in:
caschick221 2024-05-06 14:12:46 -04:00
parent 8d73be773a
commit 9c53c7e946
2 changed files with 8 additions and 8 deletions

View File

@ -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
View File

@ -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)