From f9005cd8ce98117cf796c7621cdafe6282c6a840 Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Sat, 22 Sep 2018 02:07:29 +0300 Subject: [PATCH] Fix File storage's --- aiogram/contrib/fsm_storage/files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiogram/contrib/fsm_storage/files.py b/aiogram/contrib/fsm_storage/files.py index f67a6f69..88960375 100644 --- a/aiogram/contrib/fsm_storage/files.py +++ b/aiogram/contrib/fsm_storage/files.py @@ -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