or maybe even changing occurences of = tf.config['account2'] to = tf.config.get('account2') would do it?
or maybe even changing occurences of = tf.config[ 'account2' ] to = tf.config. get('account2' ) would do it?