Fix the incorrect path in some cases

This commit is contained in:
Hoang Hong Quan
2024-07-27 18:25:25 +07:00
parent 4b480b7751
commit d9e0ed9b34
6 changed files with 10 additions and 12 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ class OCPE:
"18": "macOS Mojave 10.14",
"17": "macOS High Sierra 10.13"
}
self.result_dir = os.path.join(os.getcwd(), "Results")
self.result_dir = os.path.join(os.path.dirname(os.path.realpath(__file__)), "Results")
def check_for_update(self):
self.u.head("Check for update")