Skip to content

Commit

Permalink
mkdir if not exists
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhshg authored Jul 25, 2019
1 parent ff0522e commit 576709e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crt_cp.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
for service in services:
CP_TO_DIR = '%s/%s/%s' %(CERT_BASE_PATH, service['subscriber'], service['service'])
if not os.path.exists(CP_TO_DIR):
continue
os.makedirs(CP_TO_DIR)
for f in CERT_FILES:
src = CP_FROM_DIR + '/' + f
des = CP_TO_DIR + '/' + f
Expand Down

0 comments on commit 576709e

Please sign in to comment.