summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--For Weekly Test/30-07-2011/Controller.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/For Weekly Test/30-07-2011/Controller.py b/For Weekly Test/30-07-2011/Controller.py
index 592d545..c0c102d 100644
--- a/For Weekly Test/30-07-2011/Controller.py
+++ b/For Weekly Test/30-07-2011/Controller.py
@@ -11,8 +11,6 @@ dbStatus = db.connectDB()
if dbStatus == 1:
-
- db.anyTasksToDo()
if db.anyTasksToDo() == 1:
@@ -49,8 +47,8 @@ if dbStatus == 1:
call = None
rec = None
db.deleteTempTask(taskID)
- db.cleanTasksList()
- db.anyTasksToDo()
+ db.cleanTasksList()
+
else:
print "No job at all"
else: