Flexibles KI Prompt System #48
|
|
@ -184,7 +184,7 @@ def get_protein_ziel_low(profile_id: str) -> str:
|
||||||
)
|
)
|
||||||
row = cur.fetchone()
|
row = cur.fetchone()
|
||||||
if row:
|
if row:
|
||||||
return f"{int(row['weight'] * 1.6)}"
|
return f"{int(float(row['weight']) * 1.6)}"
|
||||||
return "nicht verfügbar"
|
return "nicht verfügbar"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -199,7 +199,7 @@ def get_protein_ziel_high(profile_id: str) -> str:
|
||||||
)
|
)
|
||||||
row = cur.fetchone()
|
row = cur.fetchone()
|
||||||
if row:
|
if row:
|
||||||
return f"{int(row['weight'] * 2.2)}"
|
return f"{int(float(row['weight']) * 2.2)}"
|
||||||
return "nicht verfügbar"
|
return "nicht verfügbar"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user