From 53fcb13f51169927743587355d05bdfce91bd95d Mon Sep 17 00:00:00 2001 From: Jordan Thompson Date: Fri, 5 May 2023 10:01:21 -0700 Subject: [PATCH] Update WAS_Node_Suite.py --- WAS_Node_Suite.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WAS_Node_Suite.py b/WAS_Node_Suite.py index 4a5959c..a1d6342 100644 --- a/WAS_Node_Suite.py +++ b/WAS_Node_Suite.py @@ -178,7 +178,7 @@ else: # Convert WebUI Styles - TODO: Convert to PromptStyles class if was_config.__contains__('webui_styles'): - webui_styles_file = was_config['webui_styles'].strip() + webui_styles_file = was_config['webui_styles'].strip() if was_config['webui_styles'] not in [None, ""] else "" if was_config.__contains__('webui_styles_persistent_update'): @@ -186,7 +186,7 @@ else: else: styles_persist = True - if webui_styles_file != "None" and os.path.exists(webui_styles_file): + if webui_styles_file != "" and os.path.exists(webui_styles_file): print(f'\033[34mWAS Node Suite:\033[0m Importing styles from `{webui_styles_file}`.')