Merge branch 'maintenance' into devel
This commit is contained in:
commit
59b17eb380
3 files changed
+8
-5
No files matched your search
@@ -177,6 +177,7 @@ date of first contribution):
|
||||
* [Moiz Rasheed](https://github.com/msrasheed)
|
||||
* [Scott Martin](https://github.com/smartin015)
|
||||
* [Shyam Sunder](https://github.com/sgsunder)
|
||||
* [Conny Rasch](https://github.com/CMR-DEV)
|
||||
* [Christopher Perrin](https://github.com/cperrin88)
|
||||
|
||||
OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by
|
||||
|
||||
@@ -260,10 +260,12 @@ class PrinterInterface:
|
||||
|
||||
Arguments:
|
||||
heater (str): The heater for which to set the target temperature. Either "bed" for setting the bed
|
||||
temperature or something matching the regular expression "tool[0-9]+" (e.g. "tool0", "tool1", ...) for
|
||||
the hotends of the printer
|
||||
temperature, "chamber" for setting the temperature of the heated enclosure or something matching the
|
||||
regular expression "tool[0-9]+" (e.g. "tool0", "tool1", ...) for the hotends of the printer. However,
|
||||
addressing components that are disabled or unconfigured in the printer profile will result in a
|
||||
"Suppressed command" error popup message.
|
||||
value (int, float): The temperature in celsius to set the target temperature to.
|
||||
tags (set of str): An optional set of tags to attach to the command(s) throughout their lifecycle
|
||||
tags (set of str): An optional set of tags to attach to the command(s) throughout their lifecycle.
|
||||
"""
|
||||
raise NotImplementedError()
|
||||
|
||||
|
||||
@@ -178,7 +178,7 @@ def deleteTimelapse(filename):
|
||||
thumb_path = octoprint.timelapse.create_thumbnail_path(full_path)
|
||||
if (
|
||||
octoprint.timelapse.valid_timelapse(full_path)
|
||||
and full_path.startswith(timelapse_folder)
|
||||
and full_path.startswith(os.path.realpath(timelapse_folder))
|
||||
and os.path.exists(full_path)
|
||||
and not util.is_hidden_path(full_path)
|
||||
):
|
||||
@@ -192,7 +192,7 @@ def deleteTimelapse(filename):
|
||||
|
||||
if (
|
||||
octoprint.timelapse.valid_timelapse_thumbnail(thumb_path)
|
||||
and thumb_path.startswith(timelapse_folder)
|
||||
and thumb_path.startswith(os.path.realpath(timelapse_folder))
|
||||
and os.path.exists(thumb_path)
|
||||
and not util.is_hidden_path(thumb_path)
|
||||
):
|
||||
|
||||
Reference in new issue
Block a user