mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-04-16 08:33:29 +00:00
Change property name
This commit is contained in:
parent
d8eae1b241
commit
2cf95ed231
@ -93,8 +93,8 @@ class OutputManager:
|
|||||||
"name": entry.name,
|
"name": entry.name,
|
||||||
"type": "folder" if entry.is_dir() else self.get_file_content_type(filepath),
|
"type": "folder" if entry.is_dir() else self.get_file_content_type(filepath),
|
||||||
"size": 0 if is_dir else stat.st_size,
|
"size": 0 if is_dir else stat.st_size,
|
||||||
"createdAt": round(stat.st_ctime_ns / 1000000),
|
"createTime": round(stat.st_ctime_ns / 1000000),
|
||||||
"updatedAt": round(stat.st_mtime_ns / 1000000),
|
"modifyTime": round(stat.st_mtime_ns / 1000000),
|
||||||
}
|
}
|
||||||
|
|
||||||
with os.scandir(folder) as it, ThreadPoolExecutor() as executor:
|
with os.scandir(folder) as it, ThreadPoolExecutor() as executor:
|
||||||
|
Loading…
Reference in New Issue
Block a user