diff options
author | mathieui <mathieui@mathieui.net> | 2012-11-17 23:06:21 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-11-17 23:06:21 +0100 |
commit | 27b7219b79280885128e82c0fcf0acdc8ed2eb26 (patch) | |
tree | 41ec6ba469bb65f3bfc99a6d394f0049d590ff41 /src/core.py | |
parent | a1c3d0dcdf0b202cbf861c27b04cb8630b68f89f (diff) | |
download | poezio-27b7219b79280885128e82c0fcf0acdc8ed2eb26.tar.gz poezio-27b7219b79280885128e82c0fcf0acdc8ed2eb26.tar.bz2 poezio-27b7219b79280885128e82c0fcf0acdc8ed2eb26.tar.xz poezio-27b7219b79280885128e82c0fcf0acdc8ed2eb26.zip |
Changes to the plugin_dir option are now taken into account on runtime
Diffstat (limited to 'src/core.py')
-rw-r--r-- | src/core.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py index 74b12d0c..b6992cc5 100644 --- a/src/core.py +++ b/src/core.py @@ -1993,6 +1993,9 @@ class Core(object): # Remove all gaptabs if switching from gaps to nogaps if option == 'create_gaps' and value.lower() == 'false': self.tabs = list(filter(lambda x: bool(x), self.tabs)) + elif option == 'plugins_dir': + path = os.path.expanduser(value) + self.plugin_manager.on_plugins_dir_change(path) self.information(msg, 'Info') def completion_set(self, the_input): |