Fix crashes with unicode characters in maintainer name
Change every mention of MAINTAINER to avoid future issues.
This commit is contained in:
parent
c7c23b11ab
commit
3a66728392
72 changed files with 73 additions and 73 deletions
|
|
@ -176,8 +176,8 @@ class QtDo(QObject):
|
|||
if not msg:
|
||||
msg = 'Website is unavailable.'
|
||||
elif isinstance(error, NotImplementedError):
|
||||
msg = 'This feature is not supported by this backend.\n\n' \
|
||||
'To help the maintainer of this backend implement this feature, please contact: %s <%s>' % (backend.MAINTAINER, backend.EMAIL)
|
||||
msg = u'This feature is not supported by this backend.\n\n' \
|
||||
u'To help the maintainer of this backend implement this feature, please contact: %s <%s>' % (backend.MAINTAINER, backend.EMAIL)
|
||||
elif isinstance(error, UserError):
|
||||
if not msg:
|
||||
msg = type(error).__name__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue