Skip to content

Commit

Permalink
fix assignment error
Browse files Browse the repository at this point in the history
  • Loading branch information
XigmaDev committed Dec 28, 2024
1 parent 1c928ad commit 41089b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ def format_data_for_telegram(data):
buy_price = f"{values['buy']} دلار"

formatted_lines.append(f"{flag}{name_persian}: \n - فروش: {sell_price} \n - خرید: {buy_price}")

formatted_message = "\n\n".join(formatted_lines)

jalali_date = jdatetime.datetime.now().strftime("%Y/%m/%d")
formatted_message = f"تاریخ: {jalali_date}\n\n{formatted_message}"
Expand Down

0 comments on commit 41089b9

Please sign in to comment.