🐛 fix import problem
This commit is contained in:
parent
4ed5d6a3de
commit
19cd3809b5
|
@ -25,7 +25,7 @@ import sys
|
||||||
from octoprint.server import NO_CONTENT
|
from octoprint.server import NO_CONTENT
|
||||||
from octoprint.util import is_hidden_path
|
from octoprint.util import is_hidden_path
|
||||||
from octoprint.util import get_formatted_size
|
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.util.comm import parse_firmware_line
|
||||||
from octoprint.access.permissions import Permissions, ADMIN_GROUP
|
from octoprint.access.permissions import Permissions, ADMIN_GROUP
|
||||||
from .modules import KlipperLogAnalyzer
|
from .modules import KlipperLogAnalyzer
|
||||||
|
|
|
@ -4,7 +4,7 @@ import os, time, sys
|
||||||
import io
|
import io
|
||||||
import flask
|
import flask
|
||||||
|
|
||||||
from . import util, logger
|
from octoprint_klipper import util, logger
|
||||||
from flask_babel import gettext
|
from flask_babel import gettext
|
||||||
from shutil import copy, copyfile
|
from shutil import copy, copyfile
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from . import util
|
from octoprint_klipper import util
|
||||||
|
|
||||||
def log_info(self, message):
|
def log_info(self, message):
|
||||||
self._octoklipper_logger.info(message)
|
self._octoklipper_logger.info(message)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from . import logger
|
from octoprint_klipper import logger
|
||||||
|
|
||||||
def migrate_old_settings(self, settings):
|
def migrate_old_settings(self, settings):
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in New Issue