From c2d9151f38ce50110e31eae0aa16777040b60362 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 28 Mar 2014 00:30:12 +0100 Subject: Returning the value fetched with RawconfigParser.getint is actually quite useful MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ………………………… --- src/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.py b/src/config.py index 79a70bb5..6b0acf2c 100644 --- a/src/config.py +++ b/src/config.py @@ -121,7 +121,7 @@ class Config(RawConfigParser): """ get a value and returns it as an int """ - RawConfigParser.getint(self, section, option) + return RawConfigParser.getint(self, section, option) def getfloat(self, option, section=DEFSECTION): """ -- cgit v1.2.3