Skip to content

Commit

Permalink
Merge pull request #293 from NASA-AMMOS/issue-292
Browse files Browse the repository at this point in the history
Issue 292: Fix call to util.toNumber() in ait_seq_send
  • Loading branch information
MJJoyce committed Sep 14, 2020
2 parents 86d5811 + 49169cc commit a338ceb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ait/core/bin/ait_seq_send.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def main ():
tokens = line.split()
delay = float(tokens[0])
cmdName = tokens[1]
cmdArgs = [ util.toNumberOrStr(t, t) for t in tokens[2:] ]
cmdArgs = [ util.toNumber(t, t) for t in tokens[2:] ]
cmdArgs = cmdApi.parseArgs(cmdName, *cmdArgs)
time.sleep(delay)
log.info(line)
Expand Down
2 changes: 2 additions & 0 deletions sequences/example_sequence.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@
#
10.5 NO_OP
10 NO_OP
5 SEQ_START 2
5 SEQ_ENABLE_DISABLE 3 ENABLED

0 comments on commit a338ceb

Please sign in to comment.