Update config.py

fix logical expression