fix deprecation warning issue1772

This commit is contained in:
Paul J Stevens committed 2010-11-29 09:03:09 +00:00
1 parent 86ef7f6fdc
commit 4cd746a1fd
1 file changed
+1 -1
+1 -1
View File
@@ -111,7 +111,7 @@ class Cron(ModelSQL, ModelView):
continue
tb_s += line
try:
tb_s += error.message.decode('utf-8', 'ignore')
tb_s += str(error).decode('utf-8', 'ignore')
except Exception:
pass