Skip to content

Commit

Permalink
Revert "Fix shortcuts for 10+ messages"
Browse files Browse the repository at this point in the history
This reverts commit efa1ceb.
  • Loading branch information
csnardi committed Jan 1, 2016
1 parent efa1ceb commit 40681d2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,7 @@ def preprocess_shortcut_command(cmd):
if not curr[0].isdigit():
new_cmd.append(curr)
else:
match = regex.search(r"^\d+", curr)
t = int(match.group())
t = int(curr[0])
for j in range(0, t):
new_cmd.append(curr[match.end():])
new_cmd.append(curr[1:])
return " ".join(new_cmd)

0 comments on commit 40681d2

Please sign in to comment.