mirror of
https://github.com/simon987/Simple-Incremental-Search-Tool.git
synced 2025-12-13 23:29:04 +00:00
Basic indexing + thumbnail is pretty much done
This commit is contained in:
@@ -7,7 +7,6 @@ import json
|
||||
import chardet
|
||||
from PIL import Image
|
||||
|
||||
|
||||
class MimeGuesser:
|
||||
|
||||
def guess_mime(self, full_path):
|
||||
@@ -130,7 +129,7 @@ class GenericFileParser(FileParser):
|
||||
path, name = os.path.split(full_path)
|
||||
|
||||
info["size"] = file_stat.st_size
|
||||
info["path"] = path
|
||||
info["path"] = path # todo save relative path
|
||||
info["name"] = name
|
||||
info["mtime"] = file_stat.st_mtime
|
||||
|
||||
|
||||
Reference in New Issue
Block a user