Do not repeat thumbnailing
This commit is contained in:
parent
86716e83b4
commit
542214f274
1 changed files with 1 additions and 1 deletions
|
@ -50,8 +50,8 @@ class Thumbnailer(ThreadPoolExecutor):
|
|||
if file_item.attempted_thumbnail.value:
|
||||
return
|
||||
|
||||
self.submit(generate_thumbnail_sync_nicely, file_item)
|
||||
file_item.attempted_thumbnail.value = True
|
||||
self.submit(generate_thumbnail_sync_nicely, file_item)
|
||||
|
||||
|
||||
def generate_thumbnail_sync_nicely(file_item: FileItem):
|
||||
|
|
Loading…
Reference in a new issue