diff options
author | Frederick Muriuki Muriithi | 2022-03-11 11:51:02 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-03-11 11:51:02 +0300 |
commit | 9691e225724e041997c74f8665dcbfa12bb1c579 (patch) | |
tree | 271d99dbf6d72161e343ddf8765f9543fe752e37 /gn3/db_utils.py | |
parent | a7696cc668e00215e1d5af2425765451811bca9d (diff) | |
download | genenetwork3-9691e225724e041997c74f8665dcbfa12bb1c579.tar.gz |
Fix some linting issues
Diffstat (limited to 'gn3/db_utils.py')
-rw-r--r-- | gn3/db_utils.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gn3/db_utils.py b/gn3/db_utils.py index 3703cbb..3b72d28 100644 --- a/gn3/db_utils.py +++ b/gn3/db_utils.py @@ -17,7 +17,4 @@ def parse_db_url() -> Tuple: def database_connector() -> mdb.Connection: """function to create db connector""" host, user, passwd, db_name = parse_db_url() - conn = mdb.connect(host, user, passwd, db_name) - cursor = conn.cursor() - - return conn + return mdb.connect(host, user, passwd, db_name) |