nncli

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

commit 19f16330e0cfa1d29325df2ab838856a34a56ac4
parent e7213bb88457b3f8926f1d5dbfe96af5fef7f8a6
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Fri,  8 Mar 2019 11:45:45 -0500

Remove unnecessary else after raise

Diffstat:
Mnncli/gui.py | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/nncli/gui.py b/nncli/gui.py @@ -854,9 +854,8 @@ def _gui_stop(self): # clear the screen and exit the urwid run loop self._gui_clear() raise urwid.ExitMainLoop() - else: - self.log('WARNING: Not all notes saved' - 'to disk (wait for sync worker)') + self.log('WARNING: Not all notes saved' + 'to disk (wait for sync worker)') def log(self, msg): """Log as message, displaying to the user as appropriate"""