diff --git a/docs/development/environment.rst b/docs/development/environment.rst index b6d62c708..f7c3753a5 100644 --- a/docs/development/environment.rst +++ b/docs/development/environment.rst @@ -57,6 +57,7 @@ When the virtual environment is activated you can then: * run the test suite from the checked out source folder via ``pytest`` * trigger the pre-commit check suite manually from the checked out source folder via ``pre-commit run --hook-stage manual --all-files`` + * rebuild ``.css`` files from ``.less`` sources. See ``octoprint dev css:build --help`` * build the documentation running ``sphinx-build -b html . _build`` in the ``docs`` folder -- the documentation will be available in the newly created ``_build`` directory. You can simply browse it locally by opening ``index.html`` diff --git a/src/octoprint/plugins/virtual_printer/virtual.py b/src/octoprint/plugins/virtual_printer/virtual.py index 19262d7aa..0c1325f44 100644 --- a/src/octoprint/plugins/virtual_printer/virtual.py +++ b/src/octoprint/plugins/virtual_printer/virtual.py @@ -1778,7 +1778,7 @@ class VirtualPrinter: filename = filename if filename.startswith("/"): filename = filename[1:] - file = os.path.join(self._virtualSd, filename).lower() + file = os.path.join(self._virtualSd, filename.lower()) if os.path.exists(file): if os.path.isfile(file): os.remove(file)