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