aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/screws_tilt_adjust.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-12-02 20:04:02 -0500
committerKevin O'Connor <kevin@koconnor.net>2019-12-02 20:06:04 -0500
commita8ad1ae726227781507521d619e2fe8f89d7ffdd (patch)
tree27046662492dfb4ffe82210e0c92b3894d2c6f4c /klippy/extras/screws_tilt_adjust.py
parent8e87ab0939eb2ac12b5d41e590da1494596577e3 (diff)
downloadkutter-a8ad1ae726227781507521d619e2fe8f89d7ffdd.tar.gz
kutter-a8ad1ae726227781507521d619e2fe8f89d7ffdd.tar.xz
kutter-a8ad1ae726227781507521d619e2fe8f89d7ffdd.zip
screws_tilt_adjust: Remove check for probe printer object
The probe object may not have be instantiated when the screws_tilt_adjust object is instantiated. Just remove the check. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/screws_tilt_adjust.py')
-rw-r--r--klippy/extras/screws_tilt_adjust.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/klippy/extras/screws_tilt_adjust.py b/klippy/extras/screws_tilt_adjust.py
index 35a87699..519794ba 100644
--- a/klippy/extras/screws_tilt_adjust.py
+++ b/klippy/extras/screws_tilt_adjust.py
@@ -19,12 +19,6 @@ class ScrewsTiltAdjust:
self.config = config
self.printer = config.get_printer()
self.screws = []
- # Verify that a probe exists
- try:
- self.printer.lookup_object("probe")
- except:
- raise self.gcode.error("Error: you must have a probe on "
- "your config file.")
# Read config
for i in range(99):
prefix = "screw%d" % (i + 1,)