def setup_plugins(extra_plugin_dir=None):
if os.path.isdir(PLUGINS_DIR):<EOL><INDENT>load_plugins([PLUGINS_DIR])<EOL><DEDENT>if extra_plugin_dir:<EOL><INDENT>load_plugins(extra_plugin_dir)<EOL><DEDENT>
Loads any additional plugins.