Skip to content

Commit

Permalink
adding some subitems descriptions that were missing
Browse files Browse the repository at this point in the history
  • Loading branch information
sugayaa committed Mar 28, 2020
1 parent bddb891 commit 3d55113
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cardapio.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,10 @@ def getMealLine(index, meal, attr):
mealLine += "Feijão "
elif attr == "saladas":
mealLine += "Salada "
elif attr == "guarnicao":
mealLine += "Guarnição "
elif attr == "sobremesa":
mealLine += "Sobremesa "

if len(food) > TAB_SIZE - 4:
food = food[0:TAB_SIZE - 5 - len(mealLine)] #3 from "..." + 2 from " *"
Expand Down

0 comments on commit 3d55113

Please sign in to comment.