Update settings.py

fix sheduler settings bug