diff --git a/tg.py b/tg.py index d294da0..2078362 100644 --- a/tg.py +++ b/tg.py @@ -189,6 +189,8 @@ def pay(message): bot.reply_to(message, '/pay ник количество') def format_sign(number): + if '-' in str(number): + return f"{number}" if number > 0: return f"+{number}" elif number == 0: