Commit 47f134ab authored by mbruns42's avatar mbruns42
Browse files

Replace isdir with exists when checking report directory existence

parent 255d13f6
Pipeline #16329 passed with stages
in 4 minutes and 46 seconds
......@@ -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: <reportDirectory> \n e.g., /Simulator/reports/")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment