fix receive link message

This commit is contained in:
BennyThink 2022-02-01 10:52:36 +08:00
parent 5c1cc891c7
commit 4fd8340da2
No known key found for this signature in database
GPG Key ID: 6CD0DBDA5235D481

View File

@ -123,8 +123,8 @@ Sending format: **{1}**
@staticmethod
def get_receive_link_text():
if ENABLE_CELERY:
reserved = get_func_queue("reserved")
if ENABLE_CELERY and reserved:
text = f"Too many tasks. Your tasks was added to the reserved queue {reserved}."
else:
text = "Your task was added to active queue.\nProcessing...\n\n"