Updated cookbook, fixed issues with vegan and sugarfree
This commit is contained in:
4
kekse.py
4
kekse.py
@ -188,7 +188,9 @@ for column in ws.columns:
|
||||
# Specials
|
||||
content = (ws._get_cell(specials_row, cell.column).value)
|
||||
if content == "(vegan)" or content == "(Vegan)":
|
||||
content="Vegan"
|
||||
content="Vegan möglich"
|
||||
if content == "(zuckerfrei)" or content == "(Zuckerfrei)":
|
||||
content="Zuckerfrei möglich"
|
||||
if(content != "None\n" and content != None):
|
||||
f_latex.write(str("\\faStar & \\textbf{Besonderheiten} & %s" % content))
|
||||
f_latex.write(str("\\index[specials]{\\textbf{%s}}" % content.replace(", ", "}} \\index[specials]{\\textbf{")))
|
||||
|
Reference in New Issue
Block a user