Updated cookbook, fixed issues with vegan and sugarfree
This commit is contained in:
parent
ee6ff25a1e
commit
e911dc1468
BIN
Rezepte_v1.0.xlsx
Normal file
BIN
Rezepte_v1.0.xlsx
Normal file
Binary file not shown.
BIN
Rezepte_v1.1.xlsx
Normal file
BIN
Rezepte_v1.1.xlsx
Normal file
Binary file not shown.
BIN
Rezepte_v1.2.xlsx
Normal file
BIN
Rezepte_v1.2.xlsx
Normal file
Binary file not shown.
4
kekse.py
4
kekse.py
@ -188,7 +188,9 @@ for column in ws.columns:
|
|||||||
# Specials
|
# Specials
|
||||||
content = (ws._get_cell(specials_row, cell.column).value)
|
content = (ws._get_cell(specials_row, cell.column).value)
|
||||||
if content == "(vegan)" or content == "(Vegan)":
|
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):
|
if(content != "None\n" and content != None):
|
||||||
f_latex.write(str("\\faStar & \\textbf{Besonderheiten} & %s" % content))
|
f_latex.write(str("\\faStar & \\textbf{Besonderheiten} & %s" % content))
|
||||||
f_latex.write(str("\\index[specials]{\\textbf{%s}}" % content.replace(", ", "}} \\index[specials]{\\textbf{")))
|
f_latex.write(str("\\index[specials]{\\textbf{%s}}" % content.replace(", ", "}} \\index[specials]{\\textbf{")))
|
||||||
|
BIN
kekse.xlsx
BIN
kekse.xlsx
Binary file not shown.
Loading…
Reference in New Issue
Block a user