1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Update redis_storage.py

This commit is contained in:
_run 2023-04-03 01:00:29 +05:00 committed by GitHub
parent 5d9a76b0dd
commit 351d021e01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -174,7 +174,7 @@ class StateRedisStorage(StateStorageBase):
user_id = str(user_id) user_id = str(user_id)
if response: if response:
if user_id in response: if user_id in response:
response[user_id]['data'] = dict(data, **response[user_id]['data']) response[user_id]['data'] = data
self.set_record(chat_id, response) self.set_record(chat_id, response)
return True return True