[demo] [minor] Started make_demo.py

This commit is contained in:
Rushabh Mehta
2013-07-30 16:19:40 +05:30
parent f90df7da02
commit ed186b719e
13 changed files with 386 additions and 3 deletions

View File

@@ -28,7 +28,8 @@ class DocType:
def setup_account(self, args):
import webnotes, json
args = json.loads(args)
if isinstance(args, basestring):
args = json.loads(args)
webnotes.conn.begin()
self.update_profile_name(args)