From 27ed67a2e79bd3fea73b45f197cfe1ea2fcca3d6 Mon Sep 17 00:00:00 2001 From: Grazfather Date: Sat, 26 Aug 2023 11:27:04 -0400 Subject: [PATCH] Fix load extra plugins --- gef.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gef.py b/gef.py index a1ec6f286..40e3acf25 100644 --- a/gef.py +++ b/gef.py @@ -9490,7 +9490,7 @@ def __init__(self) -> None: gef.config["gef.debug"] = GefSetting(False, bool, "Enable debug mode for gef") gef.config["gef.autosave_breakpoints_file"] = GefSetting("", str, "Automatically save and restore breakpoints") plugins_dir = GefSetting("", str, "Autoload additional GEF commands from external directory", hooks={"on_write": GefSetting.no_spaces}) - plugins_dir.add_hook("on_write", lambda _: self.load_extra_plugins) + plugins_dir.add_hook("on_write", lambda _: self.load_extra_plugins()) gef.config["gef.extra_plugins_dir"] = plugins_dir gef.config["gef.disable_color"] = GefSetting(False, bool, "Disable all colors in GEF") gef.config["gef.tempdir"] = GefSetting(GEF_TEMP_DIR, str, "Directory to use for temporary/cache content", hooks={"on_write": GefSetting.no_spaces})