diff --git a/db.py b/db.py index cd07206..2d88653 100644 --- a/db.py +++ b/db.py @@ -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)