except: -> except Exception:
This commit is contained in:
parent
f9157df2fb
commit
23c6c708cd
|
@ -154,7 +154,7 @@ try:
|
|||
except ImportError:
|
||||
try:
|
||||
import pybonjour
|
||||
except: # Linux raises ImportError, Windows raises WindowsError
|
||||
except Exception: # Linux raises ImportError, Windows raises WindowsError
|
||||
HAVE_ZEROCONF = False
|
||||
|
||||
HAVE_PYCRYPTO = True
|
||||
|
|
Loading…
Reference in New Issue