修复单张图片时的 PHOTO_INVALID_DIMENSIONS 以及部分图片文件缺少缩略图

This commit is contained in:
2022-08-29 14:59:35 +00:00
parent 0762b75667
commit 175d7f2a11
3 changed files with 60 additions and 4 deletions

View File

@@ -48,6 +48,7 @@ class SubFileEntry:
self._fileSize = getsize(self._path)
self._localURI = f"file://{self._path}" if self._path[0] == '/' else f"file:///{self._path}"
self._f = None
self._fullfn = basename(self._abspath)
def delete(self):
if not self._fileExist: