mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Merge pull request #127 from Tieru/filestorage-fix
Fix FileStorage data reading
This commit is contained in:
commit
0b33b041ce
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