🚸 PMGR: Log deletion of pyc files as well
This commit is contained in:
1 parent
a4b44a8b0f
commit
3e9b4ccf3d
1 file changed
+3
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user