diff --git a/worker.py b/worker.py index e767d4a..861dd41 100644 --- a/worker.py +++ b/worker.py @@ -365,7 +365,7 @@ def __send_btc_payment_info(self, address, amount): # Send a message containing the btc pay info self.bot.send_message_markdown( self.chat.id, - "To pay, send this amount:\n`%f`\nto this bitcoin address:\n`%s`" % (amount, address) + "To pay, send this amount:\n`{}`\nto this bitcoin address:\n`{}`".format(str(amount), address) ) def __wait_for_photo(self, cancellable: bool = False) -> Union[List[telegram.PhotoSize], CancelSignal]: