mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Forgot to move two lines under the fix.
This commit is contained in:
parent
c282eadcc3
commit
3ddc088764
@ -107,8 +107,8 @@ class Markov(callbacks.Privmsg, ChannelDBHandler):
|
||||
second, follower)
|
||||
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)
|
||||
id = int(cursor.fetchone()[0])
|
||||
cursor.execute("INSERT INTO follows VALUES (NULL, %s, NULL)", id)
|
||||
db.commit()
|
||||
return callbacks.Privmsg.doPrivmsg(self, irc, msg)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user