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
@@ -273,7 +273,7 @@ class PiSupportPlugin(octoprint.plugin.EnvironmentDetectionPlugin,
|
||||
message += "\n!!! FREQUENCY CAPPING DUE TO OVERHEATING REPORTED !!! Improve cooling on the Pi's " \
|
||||
"CPU and GPU."
|
||||
|
||||
self._logger.warn(message)
|
||||
self._logger.warning(message)
|
||||
|
||||
self._plugin_manager.send_plugin_message(self._identifier, dict(type="throttle_state",
|
||||
state=self._throttle_state.as_dict()))
|
||||
|
||||
Reference in new issue
Block a user