mirror of
https://github.com/bkerler/edl.git
synced 2024-11-14 19:14:58 -05:00
Fix boottodownload script
This commit is contained in:
parent
93470b921f
commit
936512812b
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ import serial
|
|||
import serial.tools.list_ports
|
||||
import argparse
|
||||
import requests
|
||||
from Exscript.protocols import Telnet
|
||||
from Exscript.protocols.telnetlib import Telnet
|
||||
import usb.core
|
||||
from enum import Enum
|
||||
|
||||
|
@ -55,7 +55,7 @@ class connection(metaclass=LogBase):
|
|||
port = self.detect(port)
|
||||
if port == "":
|
||||
try:
|
||||
self.tn = Telnet("192.168.1.1", 5510, 5)
|
||||
self.tn = Telnet("192.168.1.1", 5510)
|
||||
self.connected = True
|
||||
except:
|
||||
self.connected = False
|
||||
|
|
Loading…
Reference in a new issue