Skip to content

Commit b90f730

Browse files
committed
Fix os.path
1 parent c924845 commit b90f730

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

RTK_Firmware_Uploader/RTK_Firmware_Uploader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def on_upload_btn_pressed(self) -> None:
461461
pass
462462

463463

464-
base_path = os.path.abspath(path.dirname(__file__))
464+
base_path = os.path.abspath(os.path.dirname(__file__))
465465
self.writeMessage(base_path)
466466

467467
self.flashSize = 0

RTK_Firmware_Uploader/au_act_esptool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
# Python hackiness: change the path to stub json files in the context of the esptool
1111
# module, so it edits the esptool's global variables
12-
base_path = os.path.abspath(path.dirname(__file__))
12+
base_path = os.path.abspath(os.path.dirname(__file__))
1313
STUBS_DIR = os.path.join(base_path, "..", "Frameworks", "esptool", "targets", "stub_flasher")
1414
exec(
1515
"loader.STUBS_DIR = '{}'".format(STUBS_DIR),

0 commit comments

Comments
 (0)