mirror of
https://github.com/bkerler/edl.git
synced 2024-11-14 19:14:58 -05:00
Merge pull request #290 from FlUxIuS/master
Fixing an issues with the number of returned items of a SAHARA connection
This commit is contained in:
commit
8189b47c97
2 changed files with 6 additions and 1 deletions
|
@ -241,6 +241,7 @@ For Oneplus 6T, enter *#801#* on dialpad, set Engineer Mode and Serial to on and
|
|||
## Tested with
|
||||
|
||||
- Oneplus 3T/5/6T/7T/8/8t/9/Nord CE/N10/N100 (Read-Only), BQ X, BQ X5, BQ X2, Gigaset ME Pure, ZTE MF210, ZTE MF920V, Sierra Wireless EM7455, Netgear MR1100-10EUS, Netgear MR5100
|
||||
- SIMCOM SIM8905E
|
||||
|
||||
Published under MIT license
|
||||
Additional license limitations: No use in commercial products without prior permit.
|
||||
|
|
6
edl
6
edl
|
@ -310,7 +310,11 @@ class main(metaclass=LogBase):
|
|||
self.cdc.timeout = None
|
||||
sahara_info = self.sahara.streaminginfo()
|
||||
if sahara_info:
|
||||
mode, resp = self.sahara.connect()
|
||||
sahara_connnect = self.sahara.connect()
|
||||
if len(sahara_connnect) == 3:
|
||||
mode, cmd, resp = sahara_connnect
|
||||
else:
|
||||
mode, resp = sahara_connnect
|
||||
if mode == "sahara":
|
||||
mode = self.sahara.upload_loader()
|
||||
if "enprg" in self.sahara.programmer.lower():
|
||||
|
|
Loading…
Reference in a new issue