|
|
|
@ -52,7 +52,7 @@ def connecttoirc():
|
|
|
|
|
def isnewtask(task):
|
|
|
|
|
modified = None
|
|
|
|
|
for data in task:
|
|
|
|
|
if modified != None:
|
|
|
|
|
if modified:
|
|
|
|
|
if data["dateCreated"] == data["dateModified"] and data["dateCreated"] == modified:
|
|
|
|
|
modified = data["dateCreated"]
|
|
|
|
|
newtask = True
|
|
|
|
@ -190,4 +190,4 @@ if __name__ == "__main__":
|
|
|
|
|
t = threading.Thread(target=listenirc)
|
|
|
|
|
t.daemon = True
|
|
|
|
|
t.start()
|
|
|
|
|
app.run(host="0.0.0.0", port=5000)
|
|
|
|
|
app.run(host="0.0.0.0", port=5000)
|
|
|
|
|