mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-30 22:24:20 +01:00
Fixed stupid failed tests in Notes. I'm retard.
This commit is contained in:
parent
dd6f5de32e
commit
0f843dd651
@ -150,8 +150,7 @@ class Notes(callbacks.Privmsg):
|
|||||||
notes.to_id=users.id AND
|
notes.to_id=users.id AND
|
||||||
notified=0""", name)
|
notified=0""", name)
|
||||||
unnotified = int(cursor.fetchone()[0])
|
unnotified = int(cursor.fetchone()[0])
|
||||||
if unnotified == 0:
|
if unnotified != 0:
|
||||||
return
|
|
||||||
cursor.execute("""SELECT COUNT(*) FROM notes, users
|
cursor.execute("""SELECT COUNT(*) FROM notes, users
|
||||||
WHERE users.name=%s AND
|
WHERE users.name=%s AND
|
||||||
notes.to_id=users.id AND
|
notes.to_id=users.id AND
|
||||||
|
Loading…
Reference in New Issue
Block a user