remove none flask config from flask config file