DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead

DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
This commit is contained in:
MirceaDan committed 2018-12-01 15:07:04 -08:00
1 parent f72f948744
commit f5c8b04958
26 files changed
+109 -106

No files matched your search

+1 -1
View File
@@ -429,7 +429,7 @@ class gcode(object):
elif T is not None:
if T > max_extruders:
self._logger.warn("GCODE tried to select tool %d, that looks wrong, ignoring for GCODE analysis" % T)
self._logger.warning("GCODE tried to select tool %d, that looks wrong, ignoring for GCODE analysis" % T)
elif T == currentExtruder:
pass
else: