Skip to content
This repository was archived by the owner on Oct 16, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Stella/database/blocklists_mongo.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ def get_blocklist_reason(chat_id, blocklist_text):
if bl_text == blocklist_text:
blocklist_reason = bl_data['blocklist_reason']
return blocklist_reason
else:
return None
return None
else:
return Nones

Expand Down
4 changes: 2 additions & 2 deletions Stella/helper/button_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def button_markdown_parser(text):
else:
text_data += markdown_note[prev:to_check]
prev = match.start(1) - 1
else:
text_data += markdown_note[prev:]
text_data += markdown_note[prev:]

return text_data, buttons