erpenxt installer

This commit is contained in:
Anand Doshi 2012-05-10 12:39:33 +05:30
parent 2197cca7d2
commit b2d608de09

View file

@ -49,7 +49,9 @@ class Installer:
self.dbman.delete_user(target)
# create user and db
self.dbman.create_user(target, conf.db_password)
self.dbman.create_user(target,
hasattr(conf, 'db_password') and conf.db_password or password)
if verbose: print "Created user %s" % target
# create a database