fix: fix typo in Path.mkdir exist_ok
This commit is contained in:
parent
b28bab5b3e
commit
70b3465674
1 changed files with 1 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
||||||
import argparse
|
import argparse
|
||||||
from genericpath import exists
|
|
||||||
import logging
|
import logging
|
||||||
import os.path
|
import os.path
|
||||||
import shutil
|
import shutil
|
||||||
|
@ -77,7 +76,7 @@ def main() -> None:
|
||||||
domain_key.chmod(0o440)
|
domain_key.chmod(0o440)
|
||||||
|
|
||||||
all_dir = output_dir / 'all'
|
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_pem = all_dir / f'{domain}.pem'
|
||||||
all_key = all_dir / f'{domain}.pem.key'
|
all_key = all_dir / f'{domain}.pem.key'
|
||||||
|
|
Loading…
Reference in a new issue