Skip to content

Commit

Permalink
calc module / small adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyingFathead committed Oct 13, 2024
1 parent 7411c43 commit ee569a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/calc_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ async def calculate_expression(expression: str):
return error_message

# Construct the success message
result_message = f"[NOTE: If using i.e. Finnish, you can word it i.e. with: 'Tulos laskutoimitukselle:'] The result of <code>{expression}</code> is <code>{result}</code>."
result_message = f"[NOTE: If using i.e. Finnish, you can word it i.e. with: 'Tulos laskutoimitukselle:'] The result of {expression} is {result}."
logger.info(f"Calculation successful: {result_message}")
return result_message
except ValueError as ve:
Expand Down

0 comments on commit ee569a8

Please sign in to comment.