Skip to content

Commit

Permalink
Fix msg link in status
Browse files Browse the repository at this point in the history
Signed-off-by: anasty17 <e.anastayyar@gmail.com>
  • Loading branch information
anasty17 committed Nov 11, 2023
1 parent 7d9bf57 commit de73b06
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion add_to_team_drive.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from __future__ import print_function
from google.oauth2.service_account import Credentials
import googleapiclient.discovery
import json
import progress.bar
Expand Down
2 changes: 1 addition & 1 deletion bot/helper/ext_utils/status_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def get_readable_message(sid, is_user, page_no=1, status="All", page_step=1):
):
tstatus = task.status()
if task.listener.isSuperChat:
msg += f"<b><a href='{index+start_position}.{task.listener.message.link}'>{tstatus}</a>: </b>"
msg += f"<b>{index+start_position}.<a href='{task.listener.message.link}'>{tstatus}</a>: </b>"
else:
msg += f"<b>{index+start_position}.{tstatus}: </b>"
msg += f"<code>{escape(f'{task.name()}')}</code>"
Expand Down

0 comments on commit de73b06

Please sign in to comment.