Forgot to move two lines under the fix.

This commit is contained in:
Jeremy Fincher 2003-04-11 21:00:51 +00:00
parent c282eadcc3
commit 3ddc088764

View File

@ -108,7 +108,7 @@ class Markov(callbacks.Privmsg, ChannelDBHandler):
cursor.execute("""SELECT id FROM pairs
WHERE first=%s AND second=%s""", second,follower)
id = int(cursor.fetchone()[0])
cursor.execute("""INSERT INTO follows VALUES (NULL, %s, NULL)""", id)
cursor.execute("INSERT INTO follows VALUES (NULL, %s, NULL)", id)
db.commit()
return callbacks.Privmsg.doPrivmsg(self, irc, msg)