samg / timetrap

Simple command line timetracker
http://rubygems.org/gems/timetrap
Other
1.48k stars 116 forks source link

Check `e.note` exists before calling `rstrip` on it #73

Closed TSFoster closed 11 years ago

TSFoster commented 11 years ago

Occasionally I get an error about calling rstrip on nil. I added one of the two rstrips in the code, so sorry if it was me. I'm not really sure how the error comes about, but I've added a check for mine, and I haven't had an error since.

samg commented 11 years ago

I've pushed this change out in version 1.8.10. Thanks!