Show More
@@ -114,11 +114,13 b' class ExtensionManager(Configurable):' | |||
|
114 | 114 | """ |
|
115 | 115 | from IPython.utils.syspathcontext import prepended_to_syspath |
|
116 | 116 | |
|
117 | with prepended_to_syspath(self.ipython_extension_dir): | |
|
118 | if module_str in sys.modules: | |
|
117 | if (module_str in self.loaded) and (module_str in sys.modules): | |
|
118 | self.unload_extension(module_str) | |
|
119 | 119 |
|
|
120 | with prepended_to_syspath(self.ipython_extension_dir): | |
|
120 | 121 | reload(mod) |
|
121 |
|
|
|
122 | if self._call_load_ipython_extension(mod): | |
|
123 | self.loaded.add(module_str) | |
|
122 | 124 |
|
|
123 | 125 |
|
|
124 | 126 |
General Comments 0
You need to be logged in to leave comments.
Login now