Update config.py

Add crying check