MCPcopy Index your code
hub / github.com/HelloZeroNet/ZeroNet / migratePlugins

Method migratePlugins

src/Plugin/PluginManager.py:56–60  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

54 json.dump(self.config, f, ensure_ascii=False, sort_keys=True, indent=2)
55
56 def migratePlugins(self):
57 for dir_name in os.listdir(self.path_plugins):
58 if dir_name == "Mute":
59 self.log.info("Deleting deprecated/renamed plugin: %s" % dir_name)
60 shutil.rmtree("%s/%s" % (self.path_plugins, dir_name))
61
62 # -- Load / Unload --
63

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected