[chronojump-server] downloads n tasks



commit b85c01ad75d7875c4af89801529249bf8bb8f1b3
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Jun 28 16:16:22 2017 +0200

    downloads n tasks

 main.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/main.py b/main.py
index fc57a3d..1ab5aea 100755
--- a/main.py
+++ b/main.py
@@ -143,7 +143,7 @@ def getTasks():
 
     if len(tasks) >= 1:
         assert len(tasks) >= 1
-        return Response(json.dumps(tasks[0])) #TODO: download n tasks
+        return Response(json.dumps(tasks))
     else:
         return Response("", 202)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]