Skip to content

Commit bf67563

Browse files
committed
fix tests
1 parent 5d12d44 commit bf67563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aiogram_dialog/context/media_storage.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def _get_file_mtime(self, path: Optional[str]) -> Optional[float]:
2626
if not path:
2727
return None
2828
p = Path(path)
29-
if p.exists():
29+
if not p.exists():
3030
return None
3131
return Path(path).stat().st_mtime
3232

0 commit comments

Comments
 (0)