Skip to content

Commit

Permalink
Revert "Fixed /cancel message (breakdowns#58)" (breakdowns#59)
Browse files Browse the repository at this point in the history
This reverts commit 66ecc6f.
  • Loading branch information
breakdowns authored Apr 22, 2021
1 parent 66ecc6f commit 9cca99d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bot/helper/ext_utils/bot_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ class MirrorStatus:
STATUS_UPLOADING = "Uploading...πŸ“€"
STATUS_DOWNLOADING = "Downloading...πŸ“₯"
STATUS_WAITING = "Queued...πŸ“"
STATUS_FAILED = "Failed 🚫. Cleaning Download..."
STATUS_CANCELLED = "Cancelled ❌. Cleaning Download..."
STATUS_FAILED = "Failed 🚫. Cleaning download"
STATUS_CANCELLED = "Cancelled...❌"
STATUS_ARCHIVING = "Archiving...πŸ”"
STATUS_EXTRACTING = "Extracting...πŸ“‚"

Expand Down
4 changes: 2 additions & 2 deletions bot/modules/cancel_mirror.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def cancel_mirror(update, context):
dl = download_dict[mirror_message.message_id]
if len(args) == 1:
if mirror_message is None or mirror_message.message_id not in keys:
if BotCommands.MirrorCommand in update.message.text or \
BotCommands.TarMirrorCommand in update.message.text:
if BotCommands.MirrorCommand in mirror_message.text or \
BotCommands.TarMirrorCommand in mirror_message.text:
msg = "Mirror already have been cancelled"
sendMessage(msg, context.bot, update)
return
Expand Down

0 comments on commit 9cca99d

Please sign in to comment.