Skip to content

Commit

Permalink
Restored reset_is_running in manage.py
Browse files Browse the repository at this point in the history
  • Loading branch information
micheles committed Oct 26, 2016
1 parent 24a4dfa commit d959cf7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openquake/server/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ def dbcmd(action, *args):
if '--nothreading' in sys.argv:
logs.dbcmd = dbcmd # turn this on when debugging
logs.dbcmd('upgrade_db') # make sure the DB exists
logs.dbcmd('reset_is_running') # reset the flag is_running
with executor:
execute_from_command_line(sys.argv)

0 comments on commit d959cf7

Please sign in to comment.