remove shared option for update check (because it is not an argument of webui)

have launch.py examine both COMMANDLINE_ARGS as well as argv for its arguments
This commit is contained in:
AUTOMATIC
2022-10-18 15:18:02 +03:00
parent 4c605c5174
commit 433a7525c1
2 changed files with 9 additions and 11 deletions

View File

@@ -76,7 +76,6 @@ parser.add_argument("--disable-console-progressbars", action='store_true', help=
parser.add_argument("--enable-console-prompts", action='store_true', help="print prompts to console when generating with txt2img and img2img", default=False)
parser.add_argument('--vae-path', type=str, help='Path to Variational Autoencoders model', default=None)
parser.add_argument("--disable-safe-unpickle", action='store_true', help="disable checking pytorch models for malicious code", default=False)
parser.add_argument("--update-check", action='store_true', help="enable http check to confirm that the currently running version is the most recent release.", default=False)
cmd_opts = parser.parse_args()
restricted_opts = [