summaryrefslogtreecommitdiffstats
path: root/module/config/ConfigParser.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-07 23:58:28 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-07 23:58:28 +0100
commit6eaa7bb25e2254c80c43fe46166142d590e86c64 (patch)
tree103b12d2f8ca59cf84c7511018d99c3cb651839f /module/config/ConfigParser.py
parentxfilesharingpro - fix patterns (diff)
downloadpyload-6eaa7bb25e2254c80c43fe46166142d590e86c64.tar.xz
some cleanups
Diffstat (limited to 'module/config/ConfigParser.py')
-rw-r--r--module/config/ConfigParser.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/module/config/ConfigParser.py b/module/config/ConfigParser.py
index d7ecab5a0..a9e74dd20 100644
--- a/module/config/ConfigParser.py
+++ b/module/config/ConfigParser.py
@@ -4,15 +4,14 @@ from __future__ import with_statement
from time import sleep
from os.path import exists
from gettext import gettext
+from new_collections import namedtuple, OrderedDict
+from module.utils import from_string
from module.utils.fs import chmod
-CONF_VERSION = 2
-
-from converter import from_string
-from new_collections import namedtuple, OrderedDict
from default import make_config
+CONF_VERSION = 2
SectionTuple = namedtuple("SectionTuple", "name description long_desc config")
ConfigData = namedtuple("ConfigData", "name type description default")