mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-15 20:02:22 +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)
|
path = self.path = pathlib.Path(path)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self._data = self.read(path)
|
self.data = self.read(path)
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue