Skip to content

Commit

Permalink
Typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-robertson committed Oct 27, 2023
1 parent 48c7986 commit 4c5591c
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,9 @@ namespace energyplus {
}

path filePath;
if modelObject
.externalFile().translateFileName() {
filePath = toPath(modelObject.externalFile().fileName());
}
else {
if (modelObject.externalFile().translateFileName()) {
filePath = toPath(modelObject.externalFile().fileName());
} else {
filePath = modelObject.externalFile().filePath();
if (!exists(filePath)) {
LOG(Warn, "Cannot find file \"" << filePath << "\"");
Expand Down

0 comments on commit 4c5591c

Please sign in to comment.