Skip to content

Commit

Permalink
[update]
Browse files Browse the repository at this point in the history
  • Loading branch information
boke0 committed Mar 10, 2021
1 parent d9e6d90 commit 78fb5be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kyokusui/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ class Thread(db.Model):
def close(self):
self.closed = True
self.update()
self.event["close"]()


Thread.listen("close")


class Res(db.Model):
Expand Down

0 comments on commit 78fb5be

Please sign in to comment.