aboutsummaryrefslogtreecommitdiff
path: root/gn3/db_utils.py
diff options
context:
space:
mode:
authorBonfaceKilz2021-05-05 14:37:35 +0300
committerBonfaceKilz2021-05-08 19:19:47 +0300
commit83dfbe112f32511b4f656de7f387470cff0680ed (patch)
treed1561b8391a8842e28e02701d10c06ede4c8cef0 /gn3/db_utils.py
parent5217a366e7904142fc443594facb126d28cd2b25 (diff)
downloadgenenetwork3-83dfbe112f32511b4f656de7f387470cff0680ed.tar.gz
Fix pep-8 errors
Diffstat (limited to 'gn3/db_utils.py')
-rw-r--r--gn3/db_utils.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gn3/db_utils.py b/gn3/db_utils.py
index 34c5bf0..9dd3215 100644
--- a/gn3/db_utils.py
+++ b/gn3/db_utils.py
@@ -14,11 +14,10 @@ def parse_db_url() -> Tuple:
parsed_db.password, parsed_db.path[1:])
-def database_connector()->Tuple:
+def database_connector() -> Tuple:
"""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, cursor)
- \ No newline at end of file