diff options
author | Ben Connors <benconnors@outlook.com> | 2019-10-30 21:29:03 -0400 |
---|---|---|
committer | Ben Connors <benconnors@outlook.com> | 2019-10-30 21:29:03 -0400 |
commit | 51e723e688a4bdead12bb56d5e6dc59c5d5aef88 (patch) | |
tree | dda6436e26da47248803685fcd285e8eef2b4344 /interface/input | |
parent | 2ffa83443b2333bef73f391517767259ad033495 (diff) |
Implement most of run mode
- Audio doesn't play the past the first time
- Advance is a bit late
Diffstat (limited to 'interface/input')
-rwxr-xr-x | interface/input/parsers.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/interface/input/parsers.py b/interface/input/parsers.py index f97dbf1..7dc7d82 100755 --- a/interface/input/parsers.py +++ b/interface/input/parsers.py @@ -1,3 +1,5 @@ +from blc2.constants import INFTY + def parse_interval(s): if not s: return None, s @@ -107,6 +109,8 @@ def parse_time(s): v, s, d = parse_num(s) if v is None: + if s[0].lower() == 'i': + return INFTY, s[1:], "infinity" return None, s, None if not s: |