Fix logging initialisation by fixing import order
This commit is contained in:
parent
1a3ce89ce5
commit
765637fd3a
|
@ -4,7 +4,6 @@ import logging
|
||||||
import lacre
|
import lacre
|
||||||
from lacre.text import DOUBLE_EOL_BYTES
|
from lacre.text import DOUBLE_EOL_BYTES
|
||||||
import lacre.config as conf
|
import lacre.config as conf
|
||||||
from GnuPG import EncryptionException
|
|
||||||
import sys
|
import sys
|
||||||
from aiosmtpd.controller import Controller
|
from aiosmtpd.controller import Controller
|
||||||
from aiosmtpd.smtp import Envelope
|
from aiosmtpd.smtp import Envelope
|
||||||
|
@ -25,6 +24,7 @@ conf.load_config()
|
||||||
lacre.init_logging(conf.get_item("logging", "config"))
|
lacre.init_logging(conf.get_item("logging", "config"))
|
||||||
LOG = logging.getLogger('lacre.daemon')
|
LOG = logging.getLogger('lacre.daemon')
|
||||||
|
|
||||||
|
from GnuPG import EncryptionException
|
||||||
import lacre.core as gate
|
import lacre.core as gate
|
||||||
import lacre.keyring as kcache
|
import lacre.keyring as kcache
|
||||||
from lacre.mailop import KeepIntact
|
from lacre.mailop import KeepIntact
|
||||||
|
|
Loading…
Reference in New Issue