Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits: 1a359df9 by lovetox at 2021-12-17T21:08:35+01:00 BaseError: Use correct method signature for get_text()
- - - - -
1 changed file:
- nbxmpp/errors.py
Changes:
===================================== nbxmpp/errors.py ===================================== @@ -32,7 +32,7 @@ class BaseError(Exception): def __str__(self): return self.text
- def get_text(self): + def get_text(self, pref_lang=None): return self.text
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/1a359df9c6433ffaeb725cd15...