lists, change loops
This commit is contained in:
parent
21072c0941
commit
e15ce62ee5
5 changed files with 21 additions and 10 deletions
|
|
@ -251,6 +251,7 @@ class Node(Thread):
|
|||
with self._app.app_context():
|
||||
last = Changelog.query.filter_by(user_id=self.user_id).order_by('-revision').first()
|
||||
from_revision = last.revision + 1 if last else 0
|
||||
logger.debug('pullChanges %s from %s', self.user.name, from_revision)
|
||||
changes = self.request('pullChanges', from_revision)
|
||||
if not changes:
|
||||
return False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue