mackstann / htpicker

A simple home theater frontend
http://incise.org/htpicker.html
Other
11 stars 2 forks source link

Use ConfigParser's existing facility for default values #10

Closed mackstann closed 14 years ago

mackstann commented 14 years ago

We currently pass a default value for every fetch of a config value. ConfigParser has a facility for specifying all default values upon initialization instead. If we use that, then we can prune some unnecessary code in htpicker's config module.

mackstann commented 14 years ago

Oh. Duh. That ConfigParser feature is totally not what I thought it was. It's just a dictionary of strings that can be interpolated into config files.