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