--chromium not to require args

I've modified the --chromium argument to be enough in itself to provide 'True' with no need to add CLI argument to it.
This commit is contained in:
Eliran Gonen 2020-11-29 06:45:48 +02:00 committed by GitHub
parent 7b136e9796
commit adc7a005b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -874,6 +874,8 @@ if __name__ == "__main__":
)
ap.add_argument(
"--chromium",
nargs='?',
const=True,
help="Should I use Chromium instead?",
default=False
)