diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-10-10 10:50:02 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-10-10 10:50:02 +0000 |
commit | 507ffb38ebbfb64f065df71c50a041624e768991 (patch) | |
tree | 257a5ac280dd9492ccc4a173924184252be76fb5 /bin/dtas-tl | |
parent | 3f10fbf0c3037c72bd2d817eea7bafe547048875 (diff) | |
download | dtas-507ffb38ebbfb64f065df71c50a041624e768991.tar.gz |
Using a regexp to match trackIDs is probably not intended by the user.
Diffstat (limited to 'bin/dtas-tl')
-rwxr-xr-x | bin/dtas-tl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dtas-tl b/bin/dtas-tl index 7793f23..4597179 100755 --- a/bin/dtas-tl +++ b/bin/dtas-tl @@ -56,7 +56,7 @@ when "reto" re = ignorecase ? %r{#{re}}i : %r{#{re}} get_track_ids(c).each do |track_id| res = c.req("tl get #{track_id}") - res.sub!(/\A1 /, '') + res.sub!(/\A1 \d+=/, '') if re =~ res req = %W(tl goto #{track_id}) req << time if time |