Self hosted FLOSS fitness/workout, nutrition and weight tracker
Fix system path in manage.py
Roland Geider47797245bf8c
diff --git a/manage.py b/manage.pyindex d5c1c05be..c31ee8353 100755--- a/manage.py+++ b/manage.py@@ -10,6 +10,11 @@ from wger.tasks import (if __name__ == "__main__":+ # Add the current directory to the system path. This is needed because+ # tasks.py removes it, read the comment the on why this clutch is needed.+ # Otherwise "local" setting files could not be imported+ sys.path.append('.')+# If user passed the settings flag ignore the default wger settingsif not any('--settings' in s for s in sys.argv):setup_django_environment(get_user_config_path('wger', 'settings.py'))