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 """ |