Skip to content

Commit 576709e

Browse files
authored
mkdir if not exists
1 parent ff0522e commit 576709e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crt_cp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
for service in services:
3333
CP_TO_DIR = '%s/%s/%s' %(CERT_BASE_PATH, service['subscriber'], service['service'])
3434
if not os.path.exists(CP_TO_DIR):
35-
continue
35+
os.makedirs(CP_TO_DIR)
3636
for f in CERT_FILES:
3737
src = CP_FROM_DIR + '/' + f
3838
des = CP_TO_DIR + '/' + f

0 commit comments

Comments
 (0)