DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
This commit is contained in:
1 parent
f72f948744
commit
f5c8b04958
26 files changed
+109
-106
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user