aboutsummaryrefslogtreecommitdiff
path: root/test/requests/links_scraper
diff options
context:
space:
mode:
authorzsloan2022-03-31 15:32:17 +0000
committerzsloan2022-03-31 15:39:02 +0000
commit9774e0b4335c85f36707a30debde8a4546bb30f0 (patch)
tree4b647c6e9d00b5108f97edd2f68d4dca439daa32 /test/requests/links_scraper
parent9def45f7116e0e62ab685641a020628db8ff9327 (diff)
downloadgenenetwork2-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 'test/requests/links_scraper')
0 files changed, 0 insertions, 0 deletions