mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-15 03:08:51 +00:00
Fix FileStorage data reading
This commit is contained in:
parent
2af930149c
commit
785aaf3264
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ class _FileStorage(MemoryStorage):
|
|||
path = self.path = pathlib.Path(path)
|
||||
|
||||
try:
|
||||
self._data = self.read(path)
|
||||
self.data = self.read(path)
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue