Add another comment.

pull/1/head
Simon Quigley 7 years ago
parent 4748c9cc88
commit 8d888dea87

@ -101,6 +101,7 @@ def main():
for task in tasksearch:
dataepoch = data["action"]["epoch"]
datemodified = task["dateModified"]
# All comments within ten seconds of the request are fair game
if datemodified >= (dataepoch - 10) and datemodified <= (dataepoch + 10) and task["comments"] != []:
print("It's a comment, yes.")
comment = True

Loading…
Cancel
Save