We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d12d44 commit bf67563Copy full SHA for bf67563
src/aiogram_dialog/context/media_storage.py
@@ -26,7 +26,7 @@ def _get_file_mtime(self, path: Optional[str]) -> Optional[float]:
26
if not path:
27
return None
28
p = Path(path)
29
- if p.exists():
+ if not p.exists():
30
31
return Path(path).stat().st_mtime
32
0 commit comments