aboutsummaryrefslogtreecommitdiff
path: root/backend/data/downloadImgsForReview.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/data/downloadImgsForReview.py')
-rwxr-xr-xbackend/data/downloadImgsForReview.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/data/downloadImgsForReview.py b/backend/data/downloadImgsForReview.py
index 12b52ff..03e22a8 100755
--- a/backend/data/downloadImgsForReview.py
+++ b/backend/data/downloadImgsForReview.py
@@ -31,7 +31,7 @@ eolIds = set()
print("Reading in EOL IDs")
dbCon = sqlite3.connect(dbFile)
dbCur = dbCon.cursor()
-for row in dbCur.execute("SELECT DISTINCT eol_id FROM names"):
+for row in dbCur.execute("SELECT id FROM eol_ids"):
eolIds.add(row[0])
dbCon.close()
# Get eol-ids from images db