Settings page is "fully" implementation.

This commit is contained in:
wei
2026-08-03 20:55:37 +08:00
parent ed9d25023d
commit 48b70c12af
16 changed files with 579 additions and 261 deletions
+4 -3
View File
@@ -71,9 +71,10 @@ def main():
sys.exit(-1)
else:
# check workdir
logger.error("Work directory '%s' does not exist." % work_dir)
show_error(f"Specified work directory \"{work_dir}\" does not exist or is not a directory.")
sys.exit(-1)
if not os.path.exists(work_dir) or not os.path.isdir(work_dir):
logger.error("Work directory '%s' does not exist." % work_dir)
show_error(f"Specified work directory \"{work_dir}\" does not exist or is not a directory.")
sys.exit(-1)
if os.getcwd() != args.work_dir:
os.chdir(work_dir)