Fix bug #6

Merged
schneider merged 1 commits from :master into master 6 years ago
  1. 2
      db.py

2
db.py

@ -29,6 +29,6 @@ class Db():
def get_dead_bodies(self, chat): def get_dead_bodies(self, chat):
"""List the dead""" """List the dead"""
names = [] names = []
for name in self.conn.execute("select * from death where chat = ?", chat).fetchall():
for name in self.conn.execute("select * from death where chat = ?", [chat]).fetchall():
names.append(name[0]) names.append(name[0])
return ", ".join(names) return ", ".join(names)
Loading…
Cancel
Save