[core] Revert mistake on config.py #316

Reverts my mistake on the pull request #316