fix pickle persistence
This commit is contained in:
parent
815c4ec530
commit
423142af3f
1 changed files with 3 additions and 2 deletions
5
bot.py
5
bot.py
|
@ -21,8 +21,9 @@ STATE_PATH = os.getenv("STATE_PATH", "state.pickle")
|
|||
|
||||
|
||||
class State:
|
||||
notified = []
|
||||
notified_soon = []
|
||||
def __init__(self) -> None:
|
||||
self.notified = []
|
||||
self.notified_soon = []
|
||||
|
||||
|
||||
def process_event(event, template):
|
||||
|
|
Loading…
Reference in a new issue