Skip to content
Permalink
Browse files

DBManager: revert commit 87675f8ab

Maybe I was drunk...
  • Loading branch information
brushtyler committed Oct 22, 2015
1 parent 87657f8 commit 9419a44537bd68fc235e6f978dc087a53c513ca7
Showing with 1 addition and 4 deletions.
  1. +1 −4 python/plugins/db_manager/db_plugins/plugin.py
@@ -37,10 +37,7 @@ def __init__(self, e):
else:
msg = e

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

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

0 comments on commit 9419a44

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