mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Update fsm.py
This commit is contained in:
parent
5c9a29547f
commit
4b8441efa2
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ class FSMSStorageProxy(dict):
|
|||
async def save(self, force=False):
|
||||
data = dict(self)
|
||||
if self._copy != data or force:
|
||||
await self.fsm_context.set_data(data=self)
|
||||
await self.fsm_context.set_data(data=data)
|
||||
if self._is_dirty or force:
|
||||
await self.fsm_context.set_state(self.state)
|
||||
self._is_dirty = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue