Skip to content
Snippets Groups Projects
Commit 47f134ab authored by mbruns42's avatar mbruns42
Browse files

Replace isdir with exists when checking report directory existence

parent 255d13f6
No related branches found
No related tags found
1 merge request!156Remove getopt and use plain command line option
Pipeline #
......@@ -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/")
......
  • Contributor

    SonarQube analysis reported no issues.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment