Skip to content

Commit fb86892

Browse files
committed
Don't handle bare exception
1 parent b03bdf5 commit fb86892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pick/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def config_curses(self) -> None:
209209
curses.use_default_colors()
210210
# hide the cursor
211211
curses.curs_set(0)
212-
except:
212+
except Exception:
213213
# Curses failed to initialize color support, eg. when TERM=vt100
214214
curses.initscr()
215215

0 commit comments

Comments
 (0)