Skip to content

Commit

Permalink
fix: makedirs fail
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoweii committed Jan 9, 2024
1 parent 94bf706 commit 2c1e338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrationtest/devicefarm/automate_device_farm.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,5 @@ def unzip_and_copy(zip_path):
os.path.dirname(zip_path)) + " appium junitreport.xml"
os.rename(origin_path, rename_path)
report_path = os.path.dirname(os.path.dirname(os.path.dirname(zip_path))) + "/report/"
os.makedirs(report_path)
os.makedirs(report_path, exist_ok=True)
shutil.copy(rename_path, report_path)

0 comments on commit 2c1e338

Please sign in to comment.