Merge pull request #536 from henrynguyen7/patch-1

Fixed missing update for new DAL structure
This commit is contained in:
mdipierro
2014-10-29 13:06:52 -05:00
+1 -1
View File
@@ -1312,7 +1312,7 @@ class Scheduler(MetaScheduler):
have all fields == None have all fields == None
""" """
from gluon.dal import Query from gluon.dal.objects import Query
sr, st = self.db.scheduler_run, self.db.scheduler_task sr, st = self.db.scheduler_run, self.db.scheduler_task
if isinstance(ref, (int, long)): if isinstance(ref, (int, long)):
q = st.id == ref q = st.id == ref