mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fix invalid 'FSMContextProxy.update()' function
This commit is contained in:
parent
bc0d50c677
commit
19d26597f8
1 changed files with 2 additions and 0 deletions
|
|
@ -408,6 +408,8 @@ class FSMContextProxy:
|
|||
def update(self, data=None, **kwargs):
|
||||
self._check_closed()
|
||||
|
||||
if data is None:
|
||||
data = {}
|
||||
self._data.update(data, **kwargs)
|
||||
|
||||
def pop(self, key, default=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue