🐛 fix import problem

This commit is contained in:
thelastWallE 2021-11-20 22:16:23 +01:00
parent 4ed5d6a3de
commit 19cd3809b5
4 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ import sys
from octoprint.server import NO_CONTENT
from octoprint.util import is_hidden_path
from octoprint.util import get_formatted_size
from . import util, cfgUtils, logger
from octoprint_klipper import util, cfgUtils, logger
from octoprint.util.comm import parse_firmware_line
from octoprint.access.permissions import Permissions, ADMIN_GROUP
from .modules import KlipperLogAnalyzer

View File

@ -4,7 +4,7 @@ import os, time, sys
import io
import flask
from . import util, logger
from octoprint_klipper import util, logger
from flask_babel import gettext
from shutil import copy, copyfile

View File

@ -1,4 +1,4 @@
from . import util
from octoprint_klipper import util
def log_info(self, message):
self._octoklipper_logger.info(message)

View File

@ -1,4 +1,4 @@
from . import logger
from octoprint_klipper import logger
def migrate_old_settings(self, settings):
'''