kopia lustrzana https://github.com/OpenDroneMap/WebODM
Plugin blacklist
rodzic
927b7795f3
commit
b14209dd88
|
@ -231,6 +231,10 @@ def get_plugins():
|
|||
manifest_path, min_version, settings.VERSION))
|
||||
continue
|
||||
|
||||
# Skip plugins in blacklist
|
||||
if plugin.get_name() in settings.PLUGINS_BLACKLIST:
|
||||
continue
|
||||
|
||||
plugins.append(plugin)
|
||||
except Exception as e:
|
||||
logger.warning("Failed to instantiate plugin {}: {}".format(dir, e))
|
||||
|
|
|
@ -70,6 +70,11 @@ PROCESSING_NODES_ONBOARDING = None
|
|||
# Default CSS to add to theme
|
||||
DEFAULT_THEME_CSS = ''
|
||||
|
||||
# Plugins never to load
|
||||
PLUGINS_BLACKLIST = [
|
||||
#'measure',
|
||||
]
|
||||
|
||||
# Application definition
|
||||
|
||||
INSTALLED_APPS = [
|
||||
|
|
Ładowanie…
Reference in New Issue