summaryrefslogtreecommitdiff
path: root/manager.py
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-06-24 23:04:37 -0500
committerTim Keller <tjk@tjkeller.xyz>2025-06-24 23:04:37 -0500
commit1b1987f28df0eaf3f47fc5833e17a803f7ba1b8c (patch)
treec031c736008dbb52ec591aa1c1ed1aed85647306 /manager.py
parent4be4fd53b3f71d1da55fc7f4c31640bf6f1c4992 (diff)
downloadimmich-frame-1b1987f28df0eaf3f47fc5833e17a803f7ba1b8c.tar.xz
immich-frame-1b1987f28df0eaf3f47fc5833e17a803f7ba1b8c.zip
make frontend work with backend and wait until album response recieved before initializing albums page. extra checks around config
Diffstat (limited to 'manager.py')
-rw-r--r--manager.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/manager.py b/manager.py
index af1e4a7..b1ff94b 100644
--- a/manager.py
+++ b/manager.py
@@ -96,11 +96,12 @@ class PixMan:
if self.config.immich_url and self.config.immich_api_key and not self.display:
self.init_window()
- self.display.update_config()
+ if self.display:
+ self.display.update_config()
if oldconfig.album_list != self.config.album_list:
self.update_textures()
- else:
+ elif self.texture_list:
self.texture_list.max_cache_items = self.config.max_cache_assets
# If all goes well