File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 22from configparser import ConfigParser , SectionProxy
33from dotenv import find_dotenv , load_dotenv
44from multiprocessing import cpu_count
5- from .gui_frontend import main as gui_frontend_main
65from . import install_resources
76import subprocess
87import sys
@@ -254,9 +253,7 @@ def _validate_tools(config: SectionProxy):
254253 missing .append (name )
255254
256255 if missing :
257- raise EnvironmentError (
258- f"Missing tools: { ', ' .join (missing )} "
259- )
256+ raise EnvironmentError (f"Missing tools: { ', ' .join (missing )} " )
260257
261258
262259def _validate_resources (config : SectionProxy ):
@@ -336,6 +333,8 @@ def main():
336333 sys .exit (0 )
337334
338335 if args .gui :
336+ from .gui_frontend import main as gui_frontend_main
337+
339338 gui_frontend_main ()
340339 sys .exit (0 )
341340
You can’t perform that action at this time.
0 commit comments