Merge branch 'maintenance' of github.com:OctoPrint/OctoPrint into maintenance

This commit is contained in:
Gina Häußge committed 2022-08-09 15:01:51 +02:00
commit 18184aa6ff
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -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``
@@ -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)