aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/insert_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/insert_data.py b/scripts/insert_data.py
index a441dcb..7d3c1c6 100644
--- a/scripts/insert_data.py
+++ b/scripts/insert_data.py
@@ -264,7 +264,7 @@ def insert_se(# pylint: disable = [too-many-arguments]
"WHERE gc.Id=%s AND psf.Id=%s"),
(platformid, datasetid))
- errorinfo = dquery.fetchone()
+ errorinfo = cursor.fetchone()
print(("ERROR: No annotations found for the "
f"'{errorinfo['datasetname']}' dataset (Id: {datasetid}) "
f"under the '{errorinfo['studyname']}' study linked to the "