diff options
-rw-r--r-- | wqflask/wqflask/database.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/database.py b/wqflask/wqflask/database.py index c89216cf..afbb7923 100644 --- a/wqflask/wqflask/database.py +++ b/wqflask/wqflask/database.py @@ -39,4 +39,4 @@ def parse_db_url(sql_uri: str) -> Tuple: def database_connection(): """Returns a database connection""" host, user, passwd, db_name = parse_db_url(sql_uri()) - return MySQLdb.Connect(db=db_name, user=user, passwd=passwd, host=host) + return MySQLdb.connect(db=db_name, user=user, passwd=passwd, host=host) |