Self hosted FLOSS fitness/workout, nutrition and weight tracker
Fix bug in bootstrap command
Roland Geider9bec76568958
diff --git a/tasks.py b/tasks.pyindex f148a19a1..d3a1fbb20 100644--- a/tasks.py+++ b/tasks.py@@ -76,7 +76,9 @@ def bootstrap_wger(settings_path=None, database_path=None, address='localhost',url = "http://{0}:{1}".format(address, port)# Create settings if necessary- if settings_path and not os.path.exists(settings_path):+ if settings_path is None:+ settings_path = get_user_config_path('wger', 'settings.py')+ if not os.path.exists(settings_path):create_settings(settings_path=settings_path, database_path=database_path, url=url)# Find the path to the settings and setup the django environment