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

@@ -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)