Closed mdamonconnolly closed 5 years ago
Please take a look at the other pull request, 'Pr/54 Updated branch'. I added some error checking and cleaned up the update_item call at the bottom. I am not 100 percent sure why my commit didn't add on to this pull request, but it seemed to force me to create a new one. Let me know if you have any questions. I will wait to accept the other PR until you have accepted the changes.
This adds a nutrition database instead of the text file. The database will take in fat, protein and carbs and calculate the calories from this. It also takes in water intake (Can't remember where, but somewhere I saw it mentioned that this was being considered). This also gives the benefit of being able to dump the nutrition database table to .csv file.