Skip to content

Commit 55a5d46

Browse files
committed
update to create full path needed
1 parent 1c1a2f4 commit 55a5d46

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

vcast_exec.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,10 @@ def sendToBitBucket(self):
378378
+ glob.glob(os.path.join(html_dir, "*.ccs")) \
379379
+ glob.glob(os.path.join(html_dir, "*.png")):
380380
dest = os.path.join("reports/html",html)
381-
os.makedirs(os.path.dirname(dest))
381+
dest_dir = os.path.dirname(dest)
382+
if not os.path.isdir(dest_dir):
383+
os.makedirs(os.path.dirname(dest))
384+
382385
try:
383386
shutil.copyfile(html, dest)
384387
print("Copying {} --> {}".format(html,dest))

0 commit comments

Comments
 (0)