fix pickle persistence

This commit is contained in:
Tomáš Mládek 2021-05-26 19:16:20 +02:00
parent 815c4ec530
commit 423142af3f

5
bot.py
View file

@ -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):