diff --git a/offlineimap/ui/Curses.py b/offlineimap/ui/Curses.py index 885cd2e..986a44a 100644 --- a/offlineimap/ui/Curses.py +++ b/offlineimap/ui/Curses.py @@ -141,7 +141,7 @@ class CursesAccountFrame: def addstr(): try: self.window.addstr(0, 0, accstr) - except curses.error as e: # Occurs when the terminal is very small + except curses.error: # Occurs when the terminal is very small pass self.ui.exec_locked(addstr)