fix: fix typo in Path.mkdir exist_ok

This commit is contained in:
ptrcnull 2024-05-23 10:10:51 +02:00
parent b28bab5b3e
commit 70b3465674
Signed by: ptrcnull
GPG key ID: 411F7B30801DD9CA

View file

@ -1,5 +1,4 @@
import argparse
from genericpath import exists
import logging
import os.path
import shutil
@ -77,7 +76,7 @@ def main() -> None:
domain_key.chmod(0o440)
all_dir = output_dir / 'all'
all_dir.mkdir(parents=True, exists_ok=True)
all_dir.mkdir(parents=True, exist_ok=True)
all_pem = all_dir / f'{domain}.pem'
all_key = all_dir / f'{domain}.pem.key'