Skip to content
Snippets Groups Projects
Commit 23c6c708 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

except: -> except Exception:

parent f9157df2
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment