Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Feb 2, 2024
1 parent 0042a56 commit 22131d8
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions esptool/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,7 @@
import time
import traceback

# Add vendor directory to module search path
# embed the module "intelhex"
parent_dir = os.path.abspath(os.path.dirname(__file__))
vendor_dir = os.path.join(parent_dir, 'vendor')

sys.path.append(vendor_dir)

from intelhex import intel_hex_to_bin
from esptool.bin_image import intel_hex_to_bin
from esptool.cmds import (
DETECTED_FLASH_SIZES,
chip_id,
Expand Down

0 comments on commit 22131d8

Please sign in to comment.