diff options
author | zsloan | 2022-03-31 15:32:17 +0000 |
---|---|---|
committer | zsloan | 2022-03-31 15:39:02 +0000 |
commit | 9774e0b4335c85f36707a30debde8a4546bb30f0 (patch) | |
tree | 4b647c6e9d00b5108f97edd2f68d4dca439daa32 /wqflask/__init__.py | |
parent | 9def45f7116e0e62ab685641a020628db8ff9327 (diff) | |
download | genenetwork2-9774e0b4335c85f36707a30debde8a4546bb30f0.tar.gz |
Fix the way database_connector is called
The function returns a call to mdb.connect, which only returns the
connection object. It was throwing an error due to trying to unpack
multiple items.
One thing I noticed while looking at this is that we should probably
decide on a single way to create these connections. In some other files,
we instead use database_connection from wqflask.database (instead of the
gn3 database_connector from gn3.db_utils)
Diffstat (limited to 'wqflask/__init__.py')
0 files changed, 0 insertions, 0 deletions