From bd2e5f93b7f78a83106cc9122ef41af24f709de7 Mon Sep 17 00:00:00 2001 From: Jordan Phillips Date: Sat, 4 May 2024 06:24:33 -0700 Subject: [PATCH] Remove directory change Changing the directory makes it so Comfy manager's restart functionality fails, as the process is no longer running in the base ComfyUI directory. --- sdxl_utility.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sdxl_utility.py b/sdxl_utility.py index 4b31843..16ea5b5 100644 --- a/sdxl_utility.py +++ b/sdxl_utility.py @@ -4,11 +4,6 @@ import json import os -# Get the directory of the current script -script_directory = os.path.dirname(__file__) -# Change the working directory to the script directory -os.chdir(script_directory) - # Function to load data from a JSON file def load_json_file(file_name):