Browse Source

Fix broken query.

main
Ben Kurtovic 7 years ago
parent
commit
5c00eb2220
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      tasks/afc_statistics.py

+ 1
- 0
tasks/afc_statistics.py View File

@@ -274,6 +274,7 @@ class AFCStatistics(Task):
self.logger.debug("Adding untracked pending submissions") self.logger.debug("Adding untracked pending submissions")
query1 = "SELECT page_id FROM page" query1 = "SELECT page_id FROM page"
query2 = """SELECT page_id, page_title, page_namespace query2 = """SELECT page_id, page_title, page_namespace
FROM page
INNER JOIN categorylinks ON page_id = cl_from INNER JOIN categorylinks ON page_id = cl_from
WHERE cl_to = ?""" WHERE cl_to = ?"""




Loading…
Cancel
Save