path: smoothie post modified for python3

This commit is contained in:
sliptonic
2019-04-01 11:11:20 -05:00
committed by wmayer
parent c6915a24e1
commit 264a91e6f7

View File

@@ -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()