ejmg / tomaty

tomaty is a gtk+3 based application for the pomodoro technique 🍅
MIT License
6 stars 1 forks source link

buggo: fix json serialization bug #52

Closed nucle0tides closed 6 years ago

nucle0tides commented 6 years ago

if a user does not have a .tomaty.json in their home directory, TomatySerialization.init_total_time creates a file and then writes initialization data. I messed up the order of operations wrt when I'm reading in data when .tomaty.json actually exists.

ejmg commented 6 years ago

Nice quick catch, I totally would not have seen it since I launch my stuff with disown.