Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/zeroconf/zeroconf_bonjour.py')
-rw-r--r--src/common/zeroconf/zeroconf_bonjour.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/zeroconf/zeroconf_bonjour.py b/src/common/zeroconf/zeroconf_bonjour.py
index 857cba269..c6e281ad2 100644
--- a/src/common/zeroconf/zeroconf_bonjour.py
+++ b/src/common/zeroconf/zeroconf_bonjour.py
@@ -186,7 +186,7 @@ class Zeroconf:
#check if last part is a number and if, increment it
try:
stripped = str(int(parts[-1]))
- except:
+ except Exception:
stripped = 1
alternative_name = self.username + str(stripped+1)
self.name_conflictCB(alternative_name)