1 Commits

Author SHA1 Message Date
3dd00d6dcd db in account 2021-07-02 11:02:08 +02:00

2
db.py
View File

@ -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',