Modify config.py for combining the same condition code
move list to tuple
Move check_flapping to default True group
Merge pull request #697 from dongweiming/modify_config

Modify config.py for combining the same condition code