From 8886b20c01e7a29d3b69bbc39452cda3a214281d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 19 May 2014 18:00:57 +0200 Subject: [PATCH] And also forgot to push one more file Kids, never code while on a moving train with a flaky internet connection, you tend to miss important things... --- src/octoprint/gcodefiles.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/octoprint/gcodefiles.py b/src/octoprint/gcodefiles.py index fd69d4db..e9f13c65 100644 --- a/src/octoprint/gcodefiles.py +++ b/src/octoprint/gcodefiles.py @@ -342,6 +342,9 @@ class GcodeManager: if os.path.exists(stlPath): os.remove(stlPath) + self.removeFileFromMetadata(filename) + + def removeFileFromMetadata(self, filename): if filename in self._metadata.keys(): del self._metadata[filename] self._metadataDirty = True