Skip to content

Commit

Permalink
offset param
Browse files Browse the repository at this point in the history
  • Loading branch information
gzz2000 committed Jan 17, 2020
1 parent 3b8fe9e commit 2bfccf7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ankisyncd/sync_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ def usnLim(self):

# ankidesktop >=2.1rc2 sends graves in applyGraves, but still expects
# server-side deletions to be returned by start
def start(self, minUsn, lnewer, graves={"cards": [], "notes": [], "decks": []}):
def start(self, minUsn, lnewer, graves={"cards": [], "notes": [], "decks": []}, offset=None):
if offset is not None:
raise NotImplementedError('You are using the experimental V2 scheduler, which is not supported by the server.')
self.maxUsn = self.col._usn
self.minUsn = minUsn
self.lnewer = not lnewer
Expand Down

0 comments on commit 2bfccf7

Please sign in to comment.