fix styles logging

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-07-18 07:13:05 -04:00
parent fe61b5e0a1
commit efd86ef901
+2 -1
View File
@@ -9,7 +9,8 @@ import random
from modules import files_cache, shared, infotext, sd_models, sd_vae
debug_log = os.environ.get('SD_STYLES_DEBUG', None) is not None
debug_enabled = os.environ.get('SD_STYLES_DEBUG', None) is not None
debug_log = shared.log.trace if debug_enabled else lambda *args, **kwargs: None
class Style():