Philipp Hörist pushed to branch master at gajim / gajim

Commits:

1 changed file:

Changes:

  • gajim/common/zeroconf/zeroconf.py
    ... ... @@ -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