confighelper: fix bug in "getfloat" method
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
19bc2bfbb8
commit
25b3911d3d
|
@ -70,7 +70,7 @@ class ConfigHelper:
|
||||||
self.config[self.section].getboolean, option, default)
|
self.config[self.section].getboolean, option, default)
|
||||||
|
|
||||||
def getfloat(self, option, default=Sentinel):
|
def getfloat(self, option, default=Sentinel):
|
||||||
return self._get_item(
|
return self._get_option(
|
||||||
self.config[self.section].getfloat, option, default)
|
self.config[self.section].getfloat, option, default)
|
||||||
|
|
||||||
def read_supplemental_config(self, file_name):
|
def read_supplemental_config(self, file_name):
|
||||||
|
|
Loading…
Reference in New Issue