Skip to content
Permalink
Browse files

DBManager: fix #13650

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

msg = unicode(msg, 'utf-8', 'replace') # convert from utf8 and replace errors (if any)
try:
return unicode(val) # convert to unicode
except UnicodeDecodeError:
return unicode(val, 'utf-8', 'replace') # convert from utf8 and replace errors (if any)

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

1 comment on commit 87657f8

@brushtyler

This comment has been minimized.

Copy link
Contributor Author

@brushtyler brushtyler commented on 87657f8 Oct 22, 2015

The question is: why??? Who have I pushed this stuff? ... It's me!? Really? OK, I'm going to fix it now...

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