Commits

Anonymous committed 9d8875c

syntax error in sql query

  • Participants
  • Parent commits ad0a582

Comments (0)

Files changed (1)

File hatta/search.py

         con = self.con  # sqlite3.connect(self.filename)
         try:
             title_id = self.title_id(title, con)
-            sql = ('SELECT target, label FROM links'
+            sql = ('SELECT target, label FROM links '
                    'WHERE src=? ORDER BY number;')
             for link, label in con.execute(sql, (title_id,)):
                 yield unicode(link), unicode(label)