Changeset 3178


Ignore:
Timestamp:
Jan 3, 2017, 12:55:05 PM (2 years ago)
Author:
Juanma
Message:

wip on packaging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-store/trunk/fuentes/lliurex-appstore.install/usr/share/lliurex-store/storeManager.py

    r3177 r3178  
    88pluginDir='/usr/share/lliurex-store/plugins' #Path to the dir that stores the plugins
    99oldpwd=os.getcwd()
    10 os.chdir(pluginDir)
    11 exec ('import ' + os.path.basename(pluginDir))          #DON'T CHANGE!!!
     10os.chdir(self.pluginDir)
     11exec ('import ' + os.path.basename(self.pluginDir))             #DON'T CHANGE!!!
    1212os.chdir(oldpwd)
    1313del (oldpwd)
     
    3737                self.threadsRunning={}                  #"" "" "" the running threads
    3838                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
    4140                self.pluginMod=os.path.basename(self.pluginDir) #DON'T CHANGE!!!       
    4241                self.registeredPlugins={}               #Dict that have the relation between plugins and actions
Note: See TracChangeset for help on using the changeset viewer.