0x64746b/alot — comment on commit f2c8b32089de283dd560aaae570d28f6f2ab83a2
File: alot/settings.py line 175
By 0x64746b:

Ok, weird. I just changed my `NameError` into a `NoOptionError` since that seemed to be more specific to the error and the error message was essentially the same as my manual one. I then decided to remove this check (srsly -.-), since I deemed the `NoOptionError` raised by `get()` sufficiently meaningful. Testing the change revealed, though, that `get()` didn't raise an exception in this case (I don't get why) which results in this diverted JSON error: `TypeError: expected string or buffer`.

You don't wanna debug that, so I'm gonna keep the check and just make it into a more specific `NoOptionError`. So much on the effects of not checking options ;)