@@ -83,7 +83,6 @@ def load(self):
8383 if not is_running (self .background [2 ]):
8484 self .remove_background ()
8585
86-
8786 def get_env_data (self ):
8887 """
8988 Get environment data as a list of tuples for display.
@@ -96,10 +95,12 @@ def get_env_data(self):
9695
9796 launch_extras = ""
9897 if self .config .has_option ("DEFAULT" , "default_workspace" ):
99- data .append ((
100- "Default ComfyUI workspace" ,
101- self .config ["DEFAULT" ][constants .CONFIG_KEY_DEFAULT_WORKSPACE ],
102- ))
98+ data .append (
99+ (
100+ "Default ComfyUI workspace" ,
101+ self .config ["DEFAULT" ][constants .CONFIG_KEY_DEFAULT_WORKSPACE ],
102+ )
103+ )
103104 launch_extras = self .config ["DEFAULT" ].get (constants .CONFIG_KEY_DEFAULT_LAUNCH_EXTRAS , "" )
104105 else :
105106 data .append (("Default ComfyUI workspace" , "No default ComfyUI workspace" ))
@@ -110,26 +111,32 @@ def get_env_data(self):
110111 data .append (("Default ComfyUI launch extra options" , launch_extras ))
111112
112113 if self .config .has_option ("DEFAULT" , constants .CONFIG_KEY_RECENT_WORKSPACE ):
113- data .append ((
114- "Recent ComfyUI workspace" ,
115- self .config ["DEFAULT" ][constants .CONFIG_KEY_RECENT_WORKSPACE ],
116- ))
114+ data .append (
115+ (
116+ "Recent ComfyUI workspace" ,
117+ self .config ["DEFAULT" ][constants .CONFIG_KEY_RECENT_WORKSPACE ],
118+ )
119+ )
117120 else :
118121 data .append (("Recent ComfyUI workspace" , "No recent run" ))
119122
120123 if self .config .has_option ("DEFAULT" , "enable_tracking" ):
121- data .append ((
122- "Tracking Analytics" ,
123- ("Enabled" if self .config ["DEFAULT" ]["enable_tracking" ] == "True" else "Disabled" ),
124- ))
124+ data .append (
125+ (
126+ "Tracking Analytics" ,
127+ ("Enabled" if self .config ["DEFAULT" ]["enable_tracking" ] == "True" else "Disabled" ),
128+ )
129+ )
125130
126131 if self .config .has_option ("DEFAULT" , constants .CONFIG_KEY_BACKGROUND ):
127132 bg_info = self .background
128133 if bg_info :
129- data .append ((
130- "Background ComfyUI" ,
131- f"http://{ bg_info [0 ]} :{ bg_info [1 ]} (pid={ bg_info [2 ]} )" ,
132- ))
134+ data .append (
135+ (
136+ "Background ComfyUI" ,
137+ f"http://{ bg_info [0 ]} :{ bg_info [1 ]} (pid={ bg_info [2 ]} )" ,
138+ )
139+ )
133140 else :
134141 data .append (("Background ComfyUI" , "[bold red]No[/bold red]" ))
135142
0 commit comments