This repository was archived by the owner on Apr 25, 2024. It is now read-only.
Commit 09a7655
committed
workaround total note count evernote bug
Evernote api can return a total note count that is 16 greater than the
actual length of the list of available notes. So, rather than taking
total notes as a target in the fetching loop, we also look to see if
the retrieved notes length is zero, at which point we presume there
will be no further notes.1 parent 53a1425 commit 09a7655
1 file changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
307 | 311 | | |
308 | 312 | | |
309 | 313 | | |
| |||
312 | 316 | | |
313 | 317 | | |
314 | 318 | | |
315 | | - | |
316 | | - | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
317 | 324 | | |
318 | 325 | | |
319 | 326 | | |
| |||
0 commit comments