- changed some log messages

This commit is contained in:
Marius Stanciu 2019-02-10 14:02:53 +02:00 committed by Marius S
parent f01ac4483a
commit 258f877865
1 changed files with 2 additions and 2 deletions

View File

@ -4393,13 +4393,13 @@ class FlatCAMCNCjob(FlatCAMObj, CNCjob):
if self.options['ppname_e'] == 'marlin': if self.options['ppname_e'] == 'marlin':
marlin = True marlin = True
except Exception as e: except Exception as e:
log.debug("FlatCAMCNCJob.gcode_header(): --> %s" % str(e)) log.debug("FlatCAMCNCJob.gcode_header(): --> There is no such self.option: %s" % str(e))
try: try:
if "toolchange_probe" in self.options['ppname_e'].lower(): if "toolchange_probe" in self.options['ppname_e'].lower():
probe_pp = True probe_pp = True
except Exception as e: except Exception as e:
log.debug("FlatCAMCNCJob.gcode_header(): --> %s" % str(e)) log.debug("FlatCAMCNCJob.gcode_header(): --> There is no such self.option: %s" % str(e))
if marlin is True: if marlin is True:
gcode = ';Marlin G-CODE GENERATED BY FLATCAM v%s - www.flatcam.org - Version Date: %s\n' % \ gcode = ';Marlin G-CODE GENERATED BY FLATCAM v%s - www.flatcam.org - Version Date: %s\n' % \