imports are both py2 and py3 compatible

This commit is contained in:
boyska 2019-11-15 22:22:38 +01:00
parent 089264e071
commit c9bc0e9955
4 changed files with 5 additions and 5 deletions

View file

@ -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():

View file

@ -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')

View file

@ -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