From 3e9b4ccf3ddec309474da41faf35d00475c3ba11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 12 Nov 2020 10:22:20 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20PMGR:=20Log=20deletion=20of=20py?= =?UTF-8?q?c=20files=20as=20well?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/plugins/pluginmanager/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/octoprint/plugins/pluginmanager/__init__.py b/src/octoprint/plugins/pluginmanager/__init__.py index d730aa2b1..b545ed677 100644 --- a/src/octoprint/plugins/pluginmanager/__init__.py +++ b/src/octoprint/plugins/pluginmanager/__init__.py @@ -1057,6 +1057,9 @@ class PluginManagerPlugin( if full_path.endswith(".py"): pyc_file = "{full_path}c".format(**locals()) if os.path.isfile(pyc_file): + self._log_stdout( + "Deleting plugin from {file}".format(file=pyc_file) + ) os.remove(pyc_file) else: