From 1b1987f28df0eaf3f47fc5833e17a803f7ba1b8c Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Tue, 24 Jun 2025 23:04:37 -0500 Subject: make frontend work with backend and wait until album response recieved before initializing albums page. extra checks around config --- manager.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'manager.py') 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 -- cgit v1.2.3