Skip to content

Commit

Permalink
Don't store color in JSON store
Browse files Browse the repository at this point in the history
Fixed bug where interrupt creation was passing a colorized name into action_on,
which in turn was storing color codes in the JSON store.
Referenced by sharat87#13.
  • Loading branch information
Matt Hulse committed Jun 17, 2015
1 parent 71fb76f commit 8fc7a74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ti
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def action_interrupt(name, time):
interrupt_stack.append(interrupted)
store.dump(data)

action_on('interrupt: ' + green(name), time)
action_on('interrupt: ' + name, time)
print('You are now %d deep in interrupts.' % len(interrupt_stack))


Expand Down

0 comments on commit 8fc7a74

Please sign in to comment.