Fix: forget states in states_stor class

This commit is contained in:
localhost_frssoft 2022-12-26 01:04:37 +03:00
parent 0bdb95ee30
commit b58f39bfe1

View file

@ -93,6 +93,7 @@ def get_winner_movie(poll_status_id=str):
logger.success("Победил " + str(movie)) logger.success("Победил " + str(movie))
post_status(text_winned, attachments=[upload_attachment('src/FMN.webp')]) post_status(text_winned, attachments=[upload_attachment('src/FMN.webp')])
states_stor.states = {}
write_states() write_states()
reset_poll() reset_poll()