mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-30 14:14:37 +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
|
||||
notified=0""", name)
|
||||
unnotified = int(cursor.fetchone()[0])
|
||||
if unnotified == 0:
|
||||
return
|
||||
if unnotified != 0:
|
||||
cursor.execute("""SELECT COUNT(*) FROM notes, users
|
||||
WHERE users.name=%s AND
|
||||
notes.to_id=users.id AND
|
||||
|
Loading…
Reference in New Issue
Block a user