Philipp Hörist pushed to branch master at gajim / gajim
Commits:
-
2b980926
by Philipp Hörist at 2019-12-12T20:44:27Z
1 changed file:
Changes:
| ... | ... | @@ -48,9 +48,7 @@ def test_avahi(): |
| 48 | 48 |
def test_bonjour():
|
| 49 | 49 |
try:
|
| 50 | 50 |
import pybonjour # pylint: disable=unused-import
|
| 51 |
- except ImportError:
|
|
| 52 |
- return False
|
|
| 53 |
- except WindowsError: # pylint: disable=undefined-variable
|
|
| 51 |
+ except Exception:
|
|
| 54 | 52 |
return False
|
| 55 | 53 |
return True
|
| 56 | 54 |
|