fix an unhandled traceback under windows
This commit is contained in:
parent
9f660ed946
commit
d71e82921e
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ try:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
try:
|
try:
|
||||||
import pybonjour
|
import pybonjour
|
||||||
except ImportError:
|
except: # Linux raises ImportError, Windows raises WindowsError
|
||||||
HAVE_ZEROCONF = False
|
HAVE_ZEROCONF = False
|
||||||
|
|
||||||
HAVE_PYCRYPTO = True
|
HAVE_PYCRYPTO = True
|
||||||
|
|
Loading…
Add table
Reference in a new issue