fix in messages
diff --git a/erpnext/utilities/page/messages/messages.py b/erpnext/utilities/page/messages/messages.py
index b282991..900fa6c 100644
--- a/erpnext/utilities/page/messages/messages.py
+++ b/erpnext/utilities/page/messages/messages.py
@@ -56,8 +56,6 @@
@webnotes.whitelist()
def post(arg=None):
"""post message"""
- import json
- arg = json.loads(arg)
from webnotes.model.doc import Document
d = Document('Comment Widget Record')
d.comment = arg['txt']
@@ -69,4 +67,4 @@
def delete(arg=None):
webnotes.conn.sql("""delete from `tabComment Widget Record` where name=%s""",
webnotes.form_dict['name']);
-
\ No newline at end of file
+