Skip to content

Commit

Permalink
Merge pull request #822 from jmchilton/db_test_fix
Browse files Browse the repository at this point in the history
Fix db initialization when galaxy.ini doesn't exist.
  • Loading branch information
martenson committed Oct 1, 2015
2 parents d8ce3c2 + 6592a14 commit c133078
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/galaxy/model/orm/scripts.py
Expand Up @@ -71,8 +71,10 @@ def read_config_file_arg( argv, default, old_default ):
else:
if not os.path.exists( default ) and os.path.exists( old_default ):
config_file = old_default
else:
elif os.path.exists( default ):
config_file = default
else:
config_file = default + ".sample"
return config_file


Expand Down

0 comments on commit c133078

Please sign in to comment.