From 8f836ad2ee6aae91725c91d00e927fac30de726a Mon Sep 17 00:00:00 2001 From: doctorpangloss <@hiddenswitch.com> Date: Tue, 17 Jun 2025 13:54:57 -0700 Subject: [PATCH] fix default path --- comfy/cli_args.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/comfy/cli_args.py b/comfy/cli_args.py index ca0233e61..0e188419c 100644 --- a/comfy/cli_args.py +++ b/comfy/cli_args.py @@ -260,10 +260,7 @@ def _create_parser() -> EnhancedConfigArgParser: help="Set the base URL for the ComfyUI API. (default: https://api.comfy.org)", ) - database_default_path = os.path.abspath( - os.path.join(os.path.dirname(__file__), "..", "user", "comfyui.db") - ) - parser.add_argument("--database-url", type=str, default=f"sqlite:///{database_default_path}", help="Specify the database URL, e.g. for an in-memory database you can use 'sqlite:///:memory:'.") + parser.add_argument("--database-url", type=str, default=f"sqlite:///:memory:", help="Specify the database URL, e.g. for an in-memory database you can use 'sqlite:///:memory:'.") parser.add_argument("--workflows", type=str, nargs='+', default=[], help="Execute the API workflow(s) specified in the provided files. For each workflow, its outputs will be printed to a line to standard out. Application logging will be redirected to standard error. Use `-` to signify standard in.")