Skip to content

Commit 4462ff3

Browse files
committed
2 parents 033b93d + 3c66bd4 commit 4462ff3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

demo/drag_trial_teaching.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ def setup():
5858
print("{} : {}".format(idx, port))
5959
idx += 1
6060

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("")
61+
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("")
6666

6767
baud = 1000000
6868
_baud = input("Please input baud(default:1000000):")

0 commit comments

Comments
 (0)