db in account
This commit is contained in:
parent
44b58bc48c
commit
3dd00d6dcd
2
db.py
2
db.py
@ -22,6 +22,8 @@ except KeyError:
|
||||
DB_HOST = config["database"]["host"]
|
||||
DB_NAME = config["database"]["name"]
|
||||
|
||||
logger.info(f"db config: {DB_USER}, {DB_NAME}, {DB_HOST}, {DB_PASS}")
|
||||
|
||||
|
||||
def databaseOperation(cursor, params):
|
||||
cursor.execute('SELECT key, value FROM claims_for_user_v where "user" = %s and application = %s',
|
||||
|
Loading…
x
Reference in New Issue
Block a user