Yann Leboulanger pushed to branch master at gajim / gajim
Commits:
a884ba67 by Yann Leboulanger at 2018-03-29T09:41:40+02:00
prevent traceback. Fixes #8936
- - - - -
1 changed file:
- gajim/common/helpers.py
Changes:
=====================================
gajim/common/helpers.py
=====================================
--- a/gajim/common/helpers.py
+++ b/gajim/common/helpers.py
@@ -431,10 +431,8 @@ def get_uf_sub(sub):
uf_sub = _('From')
elif sub == 'both':
uf_sub = _('Both')
- elif sub is None:
- uf_sub = _('Unknown')
else:
- uf_sub = sub
+ uf_sub = _('Unknown')
return uf_sub
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/a884ba676258475dfc9fe56ce030fc0e609f45db
---
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/a884ba676258475dfc9fe56ce030fc0e609f45db
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits