Browse Source

Fix board sync errors

Change-Id: I8e98bcab1732a7dc9723dcd6c5eb503f80d267ae
changes/23/401023/1
James E. Blair 4 years ago
parent
commit
2acb142109
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      boartty/sync.py

+ 2
- 2
boartty/sync.py View File

@ -701,7 +701,7 @@ class SyncBoardTask(Task):
position=remote_lane['position'],
created=remote_created)
else:
lane = session.getLane(remote_lane['id'])
lane = session.getLaneByID(remote_lane['id'])
lane.updated = parseDateTime(remote_lane['updated_at'])
t = SyncWorklistTask(remote_lane['worklist']['id'],
priority=self.priority)
@ -794,7 +794,7 @@ class SyncWorklistTask(Task):
for local_item in worklist.items[:]:
if local_item.id not in remote_item_ids:
session.delete(item)
session.delete(local_item)
def run(self, sync):
app = sync.app


Loading…
Cancel
Save