|
|
@ -29,6 +29,6 @@ class Db(): |
|
|
|
def get_dead_bodies(self, chat): |
|
|
|
"""List the dead""" |
|
|
|
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]) |
|
|
|
return ", ".join(names) |