mirror of
https://github.com/bkerler/edl.git
synced 2024-11-14 19:14:58 -05:00
Normative code
This commit is contained in:
parent
7157514853
commit
1a1bec8671
1 changed files with 8 additions and 4 deletions
|
@ -13,10 +13,14 @@ from io import BytesIO
|
||||||
from os import walk
|
from os import walk
|
||||||
from shutil import copyfile
|
from shutil import copyfile
|
||||||
from struct import unpack
|
from struct import unpack
|
||||||
|
try:
|
||||||
from Config.qualcomm_config import vendor
|
from Config.qualcomm_config import vendor
|
||||||
from Library.loader_db import loader_utils
|
from Library.loader_db import loader_utils
|
||||||
from Library.utils import elf
|
from Library.utils import elf
|
||||||
|
except ModuleNotFoundError:
|
||||||
|
from edlclient.Config.qualcomm_config import vendor
|
||||||
|
from edlclient.Library.loader_db import loader_utils
|
||||||
|
from edlclient.Library.utils import elf
|
||||||
|
|
||||||
current_dir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
|
current_dir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue