diff --git a/cgi-bin/webnotes/model/import_docs.py b/cgi-bin/webnotes/model/import_docs.py index 524462c35b..8ea1502d82 100644 --- a/cgi-bin/webnotes/model/import_docs.py +++ b/cgi-bin/webnotes/model/import_docs.py @@ -291,6 +291,7 @@ class CSVImport: cur_doc = Document(fielddata = fd) cur_doc.doctype, cur_doc.parenttype, cur_doc.parentfield = self.dt_list[0], len(self.dt_list) > 1 and self.dt_list[1] or '', len(self.dt_list) > 1 and self.dt_list[2] or '' obj = '' + webnotes.message_log = [] # save the document try: if webnotes.conn.in_transaction: @@ -321,7 +322,8 @@ class CSVImport: except Exception: sql("ROLLBACK") - self.msg.append('