diff options
author | MaZderMind <git@mazdermind.de> | 2016-08-21 21:02:34 +0200 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2016-08-21 21:02:34 +0200 |
commit | d4506ffc6e2b91b2aa18f4cca25b319a7f551ad3 (patch) | |
tree | f9fa1e0f169d8d8623e37e26872c722a06dd2ae9 /voctocore/voctocore.py | |
parent | 7ce3b12e4a76d1926077d7efa57e5e9d3538de33 (diff) | |
parent | 0319be21855f9c9f4d618552ddde2a852d56869a (diff) |
Merge branch 'Florob-voctomidi'
Diffstat (limited to 'voctocore/voctocore.py')
-rwxr-xr-x | voctocore/voctocore.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/voctocore/voctocore.py b/voctocore/voctocore.py index fa712f7..1d04c4f 100755 --- a/voctocore/voctocore.py +++ b/voctocore/voctocore.py @@ -23,13 +23,16 @@ GObject.threads_init() # import local classes from lib.args import Args -from lib.pipeline import Pipeline -from lib.controlserver import ControlServer from lib.loghandler import LogHandler # main class class Voctocore(object): def __init__(self): + # import local which use the config or the logging system + # this is required, so that we can cnfigure logging, before reading the config + from lib.pipeline import Pipeline + from lib.controlserver import ControlServer + self.log = logging.getLogger('Voctocore') self.log.debug('creating GObject-MainLoop') self.mainloop = GObject.MainLoop() |