We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 033b93d + 3c66bd4 commit 4462ff3Copy full SHA for 4462ff3
demo/drag_trial_teaching.py
@@ -58,11 +58,11 @@ def setup():
58
print("{} : {}".format(idx, port))
59
idx += 1
60
61
- if port is None:
62
- _in = input("\nPlease input 1 - {} to choice:".format(idx - 1))
63
- port = str(plist[int(_in) - 1]).split(" - ")[0].strip()
64
- print(port)
65
- print("")
+
+ _in = input("\nPlease input 1 - {} to choice:".format(idx - 1))
+ port = str(plist[int(_in) - 1]).split(" - ")[0].strip()
+ print(port)
+ print("")
66
67
baud = 1000000
68
_baud = input("Please input baud(default:1000000):")
0 commit comments