Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
asvbkr committed May 28, 2021
1 parent 630802a commit 3fdd66b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TamTamBot.py
Expand Up @@ -673,10 +673,10 @@ def send_admin_message(self, text, update=None, exception=None, notify=True, lin
link = update.link
err = ''
if exception:
err = traceback.format_exc()
err = "`%s`" % traceback.format_exc()
res = False
now = datetime.now()
text = ('%s(bot @%s): `%s' % (now, self.username, (text + err)))
text = ('%s(bot @%s): %s' % (now, self.username, (text + err)))
text_add = ''
if exception and update:
text_add = ('`%s' % update.update_current)
Expand Down

0 comments on commit 3fdd66b

Please sign in to comment.