Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

Commit 19f1633

Browse files
committed
Remove unnecessary else after raise
1 parent e7213bb commit 19f1633

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

nncli/gui.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -854,9 +854,8 @@ def _gui_stop(self):
854854
# clear the screen and exit the urwid run loop
855855
self._gui_clear()
856856
raise urwid.ExitMainLoop()
857-
else:
858-
self.log('WARNING: Not all notes saved'
859-
'to disk (wait for sync worker)')
857+
self.log('WARNING: Not all notes saved'
858+
'to disk (wait for sync worker)')
860859

861860
def log(self, msg):
862861
"""Log as message, displaying to the user as appropriate"""

0 commit comments

Comments
 (0)