summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-03-28 00:30:12 +0100
committermathieui <mathieui@mathieui.net>2014-03-28 00:30:12 +0100
commitc2d9151f38ce50110e31eae0aa16777040b60362 (patch)
treeac3db33726ef28157e4afe9c6d2639eba8a20eb6
parentdbc21a661784e190b8235b4976854d781d2a6e9f (diff)
downloadpoezio-c2d9151f38ce50110e31eae0aa16777040b60362.tar.gz
poezio-c2d9151f38ce50110e31eae0aa16777040b60362.tar.bz2
poezio-c2d9151f38ce50110e31eae0aa16777040b60362.tar.xz
poezio-c2d9151f38ce50110e31eae0aa16777040b60362.zip
Returning the value fetched with RawconfigParser.getint is actually quite useful
…………………………
-rw-r--r--src/config.py2
1 files changed, 1 insertions, 1 deletions
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):
"""