confighelper: fix bug in "getfloat" method

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine 2021-01-22 07:13:48 -05:00
parent 19bc2bfbb8
commit 25b3911d3d
1 changed files with 1 additions and 1 deletions

View File

@ -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):