fix: python modules are kinda hard
This commit is contained in:
parent
fa2df68ee3
commit
5630f8f8d1
2 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@ import logging
|
||||||
import shutil
|
import shutil
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
from config import read_config
|
from .config import read_config
|
||||||
|
|
||||||
logging.basicConfig(level=logging.INFO, format='[%(levelname)s] %(name)s: %(message)s')
|
logging.basicConfig(level=logging.INFO, format='[%(levelname)s] %(name)s: %(message)s')
|
||||||
log = logging.getLogger('nyacme')
|
log = logging.getLogger('nyacme')
|
||||||
|
|
|
@ -7,8 +7,8 @@ import sys
|
||||||
|
|
||||||
import dns.resolver
|
import dns.resolver
|
||||||
|
|
||||||
from config import read_config
|
from .config import read_config
|
||||||
from handlers import HetznerHandler
|
from .handlers import HetznerHandler
|
||||||
|
|
||||||
|
|
||||||
logging.basicConfig(level=logging.INFO, format='> [%(levelname)s] %(name)s: %(message)s')
|
logging.basicConfig(level=logging.INFO, format='> [%(levelname)s] %(name)s: %(message)s')
|
||||||
|
|
Loading…
Reference in a new issue