From 4d9ec9a7e393ce6ebb4319ee0b5dd606c524d951 Mon Sep 17 00:00:00 2001 From: Ben Lye Date: Thu, 12 Apr 2018 15:49:38 +0100 Subject: [PATCH] Add M118 to commands to not uppercase Adds M118 to the default list of commands which should not automatically be converted to uppercase. --- docs/configuration/config_yaml.rst | 1 + src/octoprint/settings.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/configuration/config_yaml.rst b/docs/configuration/config_yaml.rst index 79795f021..cbd450125 100644 --- a/docs/configuration/config_yaml.rst +++ b/docs/configuration/config_yaml.rst @@ -560,6 +560,7 @@ Use the following settings to enable or disable OctoPrint features: # Defaults to only M117. autoUppercaseBlacklist: - M117 + - M118 .. _sec-configuration-config_yaml-folder: diff --git a/src/octoprint/settings.py b/src/octoprint/settings.py index bd134e317..a9773be14 100644 --- a/src/octoprint/settings.py +++ b/src/octoprint/settings.py @@ -239,7 +239,7 @@ default_settings = { "pollWatched": False, "modelSizeDetection": True, "printCancelConfirmation": True, - "autoUppercaseBlacklist": ["M117"], + "autoUppercaseBlacklist": ["M117", "M118"], "g90InfluencesExtruder": False }, "folder": {