alexferl / vyper

Python configuration with (more) fangs
MIT License
144 stars 21 forks source link

`_insensitivize_dicts` not called #1

Closed Gr1N closed 7 years ago

Gr1N commented 7 years ago

Hi,

First, thanks for the library. And now I'm going to introduce your first bug :)

See an example:

# config.yaml
Service:
  Name: test

# main.py
v = Viper()
v.set_config_type('yaml')
v.set_config_name('config')
v.add_config_path('.')
v.read_in_config()

print(v.get('service'))
# => None

As I see problem is very simple, method _insensitivize_dicts never called.

alexferl commented 7 years ago

Thanks! Sorry for the late reply, holidays you know. :) I'll make a new release with this fix ASAP.