diff --git a/toolkit/reportSummary/reportSummary.py b/toolkit/reportSummary/reportSummary.py index 590037e4cba4c8113e00042f7238022ecfb04dd9..43c4c23d067a548661b8afa49f038cc11a9edfdc 100644 --- a/toolkit/reportSummary/reportSummary.py +++ b/toolkit/reportSummary/reportSummary.py @@ -29,7 +29,7 @@ import readFileUtilities # Get directory containing reports and check if it really exists reportDir = sys.argv[1] -if not os.path.isdir(reportDir): +if not os.path.exists(reportDir): print("Report directory not found.") print("Usage: reportSummary.py <reportDirectory> \n e.g., /Simulator/reports/")