|
@@ -306,8 +306,9 @@ def types():
|
|
|
if mode != 3:
|
|
|
raise InvalidMode()
|
|
|
_input("types")
|
|
|
+ _output()
|
|
|
lst = []
|
|
|
- while (_output() != "Ready for command..."):
|
|
|
+ while (_output() != "Please give your command."):
|
|
|
v = _last_output()
|
|
|
m, mm = v.split(":")
|
|
|
m.strip()
|
|
@@ -331,7 +332,7 @@ def read(ID):
|
|
|
src = _last_output().split(":")[1].strip()
|
|
|
trg = _output().split(":")[1].strip()
|
|
|
rval = (t, (src, trg))
|
|
|
- while (_output() != "Ready for command..."):
|
|
|
+ while (_output() != "Please give your command."):
|
|
|
pass
|
|
|
return rval
|
|
|
|
|
@@ -346,7 +347,7 @@ def read_attrs(ID):
|
|
|
rval = {}
|
|
|
while (_output() != "Attributes:"):
|
|
|
pass
|
|
|
- while (_output() != "Ready for command..."):
|
|
|
+ while (_output() != "Please give your command."):
|
|
|
r = _last_output()
|
|
|
key, value = r.split(":")
|
|
|
_, value = value.split("=")
|