catch conversion errors when updating settings
use '' as default value for form.get()
Does the element self.confs[key] always exist? It isn't obvious from the file. If it doesn't always exist, is it possible to set val to some other default?
I did notice that by default it will return the value of defaults[key] from server_conf.py. Is it possible for the key to be not present there?
I'd say anybody that adds a new option should also add a default value.
And line 122 (pre-commit) / 128 (post-commit) already uses self[key] anyway.
OK. Then. Let's merge this. I don't see any other problems with this patch.