summaryrefslogtreecommitdiffstats
path: root/module/ConfigParser.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-16 20:48:58 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-16 20:48:58 +0200
commit1486c0164b6ba2e20ce4513010c11c3a638f4b50 (patch)
treef508e27c52f2284b01bd41bf3d2fbf0bdc3a34e4 /module/ConfigParser.py
parentunrar fix (diff)
downloadpyload-1486c0164b6ba2e20ce4513010c11c3a638f4b50.tar.xz
permission settings
Diffstat (limited to 'module/ConfigParser.py')
-rw-r--r--module/ConfigParser.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/ConfigParser.py b/module/ConfigParser.py
index 568d22db9..7e1af042e 100644
--- a/module/ConfigParser.py
+++ b/module/ConfigParser.py
@@ -246,6 +246,8 @@ class ConfigParser:
return int(value)
elif typ == "bool":
return True if value.lower() in ("1","true", "on", "an","yes") else False
+ elif typ == "str":
+ return str(value)
else:
return value