Commit 75bad4d880a953fdacdd49c54c757b5922afd8ad
1 parent
f6039234
增加执行环境判断
Showing
1 changed file
with
1 additions
and
1 deletions
commons/scripts/delReport.py
... | ... | @@ -16,7 +16,7 @@ def delReport(path,delNum=5): |
16 | 16 | if os.name == "nt": |
17 | 17 | report_route = os.path.abspath(os.path.join(path, "../")) |
18 | 18 | else: |
19 | - report_route = os.path.abspath(os.path.join(path)) | |
19 | + report_route = os.path.abspath(os.path.join(path)) | |
20 | 20 | file_list = os.listdir(report_route + "/report/") |
21 | 21 | print("delReport file_lis --- ", file_list) |
22 | 22 | if len(file_list) > delNum: | ... | ... |