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>
This commit is contained in:
Kevin O'Connor 2019-12-02 20:04:02 -05:00
parent 8e87ab0939
commit a8ad1ae726
1 changed files with 0 additions and 6 deletions

View File

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