This reverts commit 66ecc6fd08.
This commit is contained in:
parent
66ecc6fd08
commit
9cca99d99f
|
|
@ -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...📂"
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue