store filemanager state in localstorage

This commit is contained in:
Qing
2023-03-21 12:31:31 +08:00
parent 1bb25bebe6
commit c33b7c201e
3 changed files with 89 additions and 22 deletions

View File

@@ -137,6 +137,7 @@ class FileManager(FileSystemEventHandler):
"height": img.height,
"width": img.width,
"ctime": os.path.getctime(path),
"mtime": os.path.getmtime(path),
}
)
return res