nncli

NextCloud Notes Command Line Interface
git clone git://git.danielmoch.com/nncli.git
Log | Files | Refs | LICENSE

commit c66fb3913de121c0f18ffc05150cdb3c4936bec4
parent aead8d8b68f88213d88947ad975d8f0205952d72
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Fri, 10 Dec 2021 18:40:51 -0500

Allow syncing in Python 3.8 and later

Bug reported and fixed by Russell Ault

Diffstat:
Mnncli/notes_db.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nncli/notes_db.py b/nncli/notes_db.py @@ -466,7 +466,7 @@ def sync_notes(self, server_sync=True, full_sync=True): # 1. for any note changed locally, including new notes: # save note to server, update note with response - for _, local_key in enumerate(self.notes.keys()): + for _, local_key in enumerate(list(self.notes.keys())): note = self.notes[local_key] if not note.get('id') or \