Skip to content

Commit ff5fa3e

Browse files
committed
guard curses import to allow boofuzz to run on Windows
1 parent 7fb4a2b commit ff5fa3e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

boofuzz/fuzz_logger_curses.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
from __future__ import division
22
import sys
33
import time
4-
import curses
4+
try:
5+
import curses
6+
except ImportError:
7+
pass # Allow package to be imported on Windows -- will fail if you try to use it
58
import signal
69
import threading
710

0 commit comments

Comments
 (0)