From a36fdc8e16ca3c822f7f43f8a6db96d797ad99f3 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Wed, 14 Oct 2015 16:34:56 +0530 Subject: [PATCH] [fix] remove messages --- frappe/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/__init__.py b/frappe/__init__.py index c7115397b9..df05c479f4 100644 --- a/frappe/__init__.py +++ b/frappe/__init__.py @@ -243,7 +243,7 @@ def msgprint(msg, small=0, raise_exception=0, as_table=False): if as_table and type(msg) in (list, tuple): msg = '' + ''.join([''+''.join(['' % c for c in r])+'' for r in msg]) + '
%s
' - if flags.print_messages or not request or (not "cmd" in local.form_dict): + if flags.print_messages: print "Message: " + repr(msg).encode("utf-8") message_log.append((small and '__small:' or '')+cstr(msg or ''))