Changeset 3178
- Timestamp:
- Jan 3, 2017, 12:55:05 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lliurex-store/trunk/fuentes/lliurex-appstore.install/usr/share/lliurex-store/storeManager.py
r3177 r3178 8 8 pluginDir='/usr/share/lliurex-store/plugins' #Path to the dir that stores the plugins 9 9 oldpwd=os.getcwd() 10 os.chdir( pluginDir)11 exec ('import ' + os.path.basename( pluginDir)) #DON'T CHANGE!!!10 os.chdir(self.pluginDir) 11 exec ('import ' + os.path.basename(self.pluginDir)) #DON'T CHANGE!!! 12 12 os.chdir(oldpwd) 13 13 del (oldpwd) … … 37 37 self.threadsRunning={} #"" "" "" the running threads 38 38 self._define_functions_for_threads() #Function that loads the dictionary self.threads 39 self.pluginDir=pluginDir #Path to the dir that stores the plugins 40 del (pluginDir) 39 self.pluginDir='/usr/share/lliurex-store/plugins' #Path to the dir that stores the plugins 41 40 self.pluginMod=os.path.basename(self.pluginDir) #DON'T CHANGE!!! 42 41 self.registeredPlugins={} #Dict that have the relation between plugins and actions
Note: See TracChangeset
for help on using the changeset viewer.