ConfigParser.get doesn't return None on missing options
This commit is contained in:
parent
26e7160a90
commit
de1634a587
|
@ -203,4 +203,4 @@ class KeyManager:
|
|||
config.add_section('keys')
|
||||
|
||||
def get_key(self, name):
|
||||
return self.config.get('keys', name)
|
||||
return self.config.get('keys', name, fallback=None)
|
||||
|
|
Loading…
Reference in New Issue