working settings
This commit is contained in:
@@ -7,8 +7,8 @@ from octoprint_CalibrationTools import api, hooks, models
|
||||
|
||||
defaultSettings = {
|
||||
"eSteps": {
|
||||
"userControlsTemp": True,
|
||||
"turnOffHeater": True,
|
||||
"userControlsTemp": "checked",
|
||||
"turnOffHotend": "",
|
||||
"extrudeTemp": 210,
|
||||
"extrudeLength": 100,
|
||||
"extrudeSpeed": 50,
|
||||
@@ -16,7 +16,6 @@ defaultSettings = {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
class CalibrationtoolsPlugin(
|
||||
octoprint.plugin.StartupPlugin,
|
||||
octoprint.plugin.TemplatePlugin,
|
||||
@@ -29,6 +28,7 @@ class CalibrationtoolsPlugin(
|
||||
collectCommand = False
|
||||
data = {}
|
||||
|
||||
|
||||
def initialize(self):
|
||||
self.collectCommand = False
|
||||
|
||||
@@ -46,6 +46,7 @@ class CalibrationtoolsPlugin(
|
||||
"js": ["js/CalibrationTools.js"],
|
||||
"css": ["css/style.css"]
|
||||
}
|
||||
# self._settings.valid_boolean_trues:
|
||||
|
||||
def get_settings_defaults(self):
|
||||
return defaultSettings
|
||||
|
||||
Reference in New Issue
Block a user