Add link to tasks that have users assigned

This commit is contained in:
t3xhno 2024-02-06 22:08:43 +01:00
parent d08e8199f8
commit 3d80517a6f

View File

@ -43,7 +43,8 @@ def getDmzTasks(url):
usersList = ""
for user in assignedUsers:
usersList += user.find("div").text.split(": ")[1] + ", "
result += usersList[:-2] + "\n\n"
result += usersList[:-2] + "\n"
result += "\tLink: " + url + task.find("a")["href"][1:] + "\n\n"
return result
except Exception as e:
return e