From c4dc7d0f55fc119fc285138371008bb1a061569d Mon Sep 17 00:00:00 2001 From: Eyal Date: Sun, 24 Jun 2018 15:04:38 +0300 Subject: [PATCH] Fix comment in types.py to match the code The comment says that the key should be `_analysis` but in the code it is `analysis`: https://github.com/foosel/OctoPrint/blob/master/src/octoprint/slicing/__init__.py#L312 This fixes the comment but leaves the code unchanged. --- src/octoprint/plugin/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/plugin/types.py b/src/octoprint/plugin/types.py index 9b3fc46f2..1fe0f8046 100644 --- a/src/octoprint/plugin/types.py +++ b/src/octoprint/plugin/types.py @@ -1984,7 +1984,7 @@ class SlicerPlugin(OctoPrintPlugin): For jobs that finished successfully, ``result`` should be a :class:`dict` containing additional information about the slicing job under the following keys: - _analysis + analysis Analysis result of the generated machine code as returned by the slicer itself. This should match the data structure described for the analysis queue of the matching machine code format, e.g. :class:`~octoprint.filemanager.analysis.GcodeAnalysisQueue` for GCODE files.