nncli

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

commit 52c97d49d298ec0550226130bdc47b23200d7ac0
parent c364a1abc7b3e1405bb2aaed41b0fe506fd53b69
Author: Eric Davis <edavis@insanum.com>
Date:   Wed,  2 Jul 2014 19:58:41 -0700

sync function is now a background thread

Diffstat:
Mview_titles.py | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/view_titles.py b/view_titles.py @@ -10,7 +10,6 @@ def __init__(self, config, args): self.search_string = args['search_string'] self.body_changer = args['body_changer'] self.status_message = args['status_message'] - self.sync_func = args['sync_func'] self.all_notes, match_regex, self.all_notes_cnt = \ self.ndb.filter_notes(self.search_string) if len(self.all_notes) == 0: @@ -180,7 +179,6 @@ def keypress(self, size, key): self.ndb.set_note_pinned( self.all_notes[self.focus_position].note['key'], 1) self.update_note_title(None, self.focus_position) - self.sync_func() return None elif key == self.config.get_keybind('note_unpin'): @@ -188,7 +186,6 @@ def keypress(self, size, key): self.ndb.set_note_pinned( self.all_notes[self.focus_position].note['key'], 0) self.update_note_title(None, self.focus_position) - self.sync_func() return None elif key == self.config.get_keybind('view_note'):