mirror of
https://github.com/simon987/od-database.git
synced 2025-12-16 08:09:04 +00:00
Elasticsearch search engine (import from json)
This commit is contained in:
@@ -61,7 +61,7 @@ class FtpDirectory(RemoteDirectory):
|
||||
|
||||
results.append(File(
|
||||
name=file_name,
|
||||
mtime=stat.st_mtime,
|
||||
mtime=stat.st_mtime, # TODO: check
|
||||
size=-1 if is_dir else stat.st_size,
|
||||
is_dir=is_dir,
|
||||
path=path
|
||||
|
||||
Reference in New Issue
Block a user