imports are both py2 and py3 compatible
This commit is contained in:
parent
089264e071
commit
c9bc0e9955
4 changed files with 5 additions and 5 deletions
|
@ -9,10 +9,10 @@ logger = logging.getLogger('cli')
|
|||
|
||||
CWD = os.getcwd()
|
||||
|
||||
from techrec import forge
|
||||
from techrec import maint
|
||||
from . import forge
|
||||
from . import maint
|
||||
from .config_manager import get_config
|
||||
from techrec import server
|
||||
from . import server
|
||||
|
||||
|
||||
def pre_check_permissions():
|
||||
|
|
|
@ -5,7 +5,7 @@ import logging
|
|||
from sqlalchemy import inspect
|
||||
|
||||
from .config_manager import get_config
|
||||
from .techrec import RecDB
|
||||
from .db import RecDB
|
||||
|
||||
def cleanold_cmd(options):
|
||||
log = logging.getLogger('cleanold')
|
||||
|
|
|
@ -14,7 +14,7 @@ botlog.setLevel(logging.INFO)
|
|||
botlog.addHandler(logging.StreamHandler(sys.stdout))
|
||||
bottle._stderr = lambda x: botlog.info(x.strip())
|
||||
|
||||
from .techrec import Rec, RecDB
|
||||
from .db import Rec, RecDB
|
||||
from .processqueue import get_process_queue
|
||||
from .forge import create_mp3
|
||||
from .config_manager import get_config
|
||||
|
|
Loading…
Reference in a new issue