summaryrefslogtreecommitdiff
path: root/immich.py
diff options
context:
space:
mode:
Diffstat (limited to 'immich.py')
-rw-r--r--immich.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/immich.py b/immich.py
index 0f319c5..8c4f3e6 100644
--- a/immich.py
+++ b/immich.py
@@ -54,7 +54,7 @@ class ImmichConnector:
size = "preview" # TODO
while True:
texture_list, image_texture = self.texture_load_queue.get()
- if not texture_list.index_in_cache_range(image_texture.asset_index):
+ if not texture_list.index_in_cache_range(image_texture.asset_index) or texture_list.void:
continue # Texture was never loaded so it doesn't need to be free'd
image_data, _ = self.load_image(image_texture.asset_key, size)
image_texture.initialize(image_data)