Skip to content

Commit

Permalink
fixed -0.00 karma output ( https://t.me/KarmaBotDev/343 )
Browse files Browse the repository at this point in the history
  • Loading branch information
bomzheg committed Sep 30, 2024
1 parent c2c0025 commit 7a4ab8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/handlers/change_karma.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ async def karma_change(

msg = await message.reply(
"<b>{actor_name}</b>, Вы {how_change} карму <b>{target_name}</b> "
"до <b>{karma_new:.2f}</b> ({power:+.2f})\n\n{notify_text}".format(
"до <b>{karma_new:z.2f}</b> ({power:+.2f})\n\n{notify_text}".format(
actor_name=hd.quote(user.fullname),
how_change=get_how_change_text(karma["karma_change"]),
target_name=hd.quote(target.fullname),
Expand Down

0 comments on commit 7a4ab8e

Please sign in to comment.