diff --git a/mtkclient/Library/DA/legacy/dalegacy_lib.py b/mtkclient/Library/DA/legacy/dalegacy_lib.py index 736a2cca..5a3ae740 100755 --- a/mtkclient/Library/DA/legacy/dalegacy_lib.py +++ b/mtkclient/Library/DA/legacy/dalegacy_lib.py @@ -19,7 +19,9 @@ from mtkclient.Library.partition import Partition from mtkclient.config.payloads import pathconfig from mtkclient.Library.DA.legacy.extension.legacy import legacyext -from mtkclient.Library.thread_handling import writedata, Thread, Queue +from mtkclient.Library.thread_handling import writedata +from queue import Queue +from threading import Thread rq = Queue() diff --git a/mtkclient/Library/DA/xflash/xflash_lib.py b/mtkclient/Library/DA/xflash/xflash_lib.py index a96e68c7..fc1c6882 100755 --- a/mtkclient/Library/DA/xflash/xflash_lib.py +++ b/mtkclient/Library/DA/xflash/xflash_lib.py @@ -15,7 +15,9 @@ from mtkclient.config.payloads import pathconfig from mtkclient.Library.DA.xflash.extension.xflash import xflashext, XCmd from mtkclient.Library.settings import hwparam -from mtkclient.Library.thread_handling import writedata, Queue, Thread +from mtkclient.Library.thread_handling import writedata +from queue import Queue +from threading import Thread rq = Queue() diff --git a/mtkclient/Library/DA/xml/xml_lib.py b/mtkclient/Library/DA/xml/xml_lib.py index 9ffd4cfd..5cd3dcd8 100755 --- a/mtkclient/Library/DA/xml/xml_lib.py +++ b/mtkclient/Library/DA/xml/xml_lib.py @@ -11,7 +11,9 @@ from mtkclient.Library.DA.daconfig import EMMC_PartitionType, UFS_PartitionType, DaStorage from mtkclient.Library.partition import Partition from mtkclient.config.payloads import pathconfig -from mtkclient.Library.thread_handling import writedata, Queue, Thread +from mtkclient.Library.thread_handling import writedata +from queue import Queue +from threading import Thread from mtkclient.Library.DA.xml.xml_cmd import XMLCmd, BootModes from mtkclient.Library.DA.xml.extension.v6 import xmlflashext