Skip to content
Permalink
Browse files

DBManager: merge PR2342 by medspx (fix #13650)

  • Loading branch information
brushtyler committed Oct 22, 2015
1 parent 9419a44 commit 339fd75655e0835f7d5e6634d31a248fd67136ea
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/plugins/db_manager/db_plugins/plugin.py
@@ -37,7 +37,8 @@ def __init__(self, e):
else:
msg = e

msg = unicode(val, 'utf-8', 'replace') # convert from utf8 and replace errors (if any)
if not isinstance(msg, unicode):
msg = unicode(msg, 'utf-8', 'replace') # convert from utf8 and replace errors (if any)

self.msg = msg
Exception.__init__(self, msg)

0 comments on commit 339fd75

Please sign in to comment.
You can’t perform that action at this time.