|
@@ -314,9 +314,9 @@ class Project(NamedBaseModel):
|
|
|
file.fps = fps
|
|
|
|
|
|
# Pre-load common thumbnail sizes if the given file is an image.
|
|
|
- if file.type == 'image' and os.path.isfile(path):
|
|
|
- for max_width, max_height in [(200, 200), (2000, 800)]:
|
|
|
- tpool.execute(resize_file, file, self.root_folder, max_width, max_height)
|
|
|
+ # if file.type == 'image' and os.path.isfile(path):
|
|
|
+ # for max_width, max_height in [(200, 200), (2000, 800)]:
|
|
|
+ # tpool.execute(resize_file, file, self.root_folder, max_width, max_height)
|
|
|
|
|
|
return file, is_new
|
|
|
|