This commit is contained in:
Julien Palard 2023-04-11 16:11:11 +02:00
parent f3c0441cd7
commit 446aafa72e
Signed by: mdk
GPG Key ID: 0EFC1AC1006886F8

View File

@ -313,7 +313,7 @@ def parse_args():
help="Number of files to check in paralel, defaults to all available CPUs",
)
args = parser.parse_args()
if not args.personal_dict.exists():
if args.personal_dict is not None and not args.personal_dict.exists():
print(f"Error: dictionary {str(args.personal_dict)!r} not found.")
sys.exit(1)
if args.drop_capitalized and args.no_drop_capitalized: