Skip to content

Commit

Permalink
fix command line installation
Browse files Browse the repository at this point in the history
  • Loading branch information
antonylesuisse committed Sep 22, 2012
1 parent ac2ad9a commit 2fdccd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openerp-server
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def setup_pid_file():
def preload_registry(dbname):
""" Preload a registry, and start the cron."""
try:
db, registry = openerp.pooler.get_db_and_pool(dbname, update_module=config['init'] or config['update'], pooljobs=False)
db, registry = openerp.pooler.get_db_and_pool(dbname, update_module=openerp.tools.config['init'] or openerp.tools.config['update'], pooljobs=False)

# jobs will start to be processed later, when openerp.cron.start_master_thread() is called by openerp.service.start_services()
registry.schedule_cron_jobs()
Expand Down

0 comments on commit 2fdccd4

Please sign in to comment.