PluginManager/PluginManager.py

changeset 3621
15f23ed3f216
parent 3523
8df1ab89e261
child 3656
441956d8fce5
equal deleted inserted replaced
3620:2c8d96d47cda 3621:15f23ed3f216
281 sys.path.insert(2, self.pluginDirs[key]) 281 sys.path.insert(2, self.pluginDirs[key])
282 UI.PixmapCache.addSearchPath(self.pluginDirs[key]) 282 UI.PixmapCache.addSearchPath(self.pluginDirs[key])
283 283
284 if self.__develPluginFile: 284 if self.__develPluginFile:
285 path = Utilities.splitPath(self.__develPluginFile)[0] 285 path = Utilities.splitPath(self.__develPluginFile)[0]
286 if not path in sys.path: 286 if path not in sys.path:
287 sys.path.insert(2, path) 287 sys.path.insert(2, path)
288 UI.PixmapCache.addSearchPath(path) 288 UI.PixmapCache.addSearchPath(path)
289 289
290 def __loadPlugins(self): 290 def __loadPlugins(self):
291 """ 291 """

eric ide

mercurial