commit | 3525481823428aeaee0c51992a8220ff9ac343fd | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Fri Jul 05 11:27:26 2013 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Fri Jul 05 11:27:26 2013 +0530 |
tree | 6dc5696815d7bcce59a2e7f37701403bd8fd1dc9 | |
parent | 19f2396f9567004db577d8db2eb0797779f04790 [diff] [blame] |
[patch] restore defaults
diff --git a/startup/install.py b/startup/install.py index 5ddbf09..1553e1b 100644 --- a/startup/install.py +++ b/startup/install.py
@@ -176,6 +176,6 @@ ] for r in records: - doc = webnotes.doc(r) - doc.insert() - \ No newline at end of file + if not webnotes.conn.exists(r['doctype'], r['name']): + bean = webnotes.bean(r) + bean.insert() \ No newline at end of file