path: smoothie post modified for python3
This commit is contained in:
@@ -266,7 +266,7 @@ def sendToSmoothie(IP_ADDR, GCODE, fname):
|
||||
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
s.settimeout(4.0)
|
||||
s.connect((IP_ADDR, 115))
|
||||
tn= s.makefile()
|
||||
tn= s.makefile(mode='rw')
|
||||
|
||||
# read startup prompt
|
||||
ln= tn.readline()
|
||||
|
||||
Reference in New Issue
Block a user