diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-07-29 17:05:45 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-07-29 17:05:45 +0200 |
commit | 252cf9964a2ebc78a589f75db2a7be0d25cac512 (patch) | |
tree | 0f4cd1a7949f8a3dc87eaed35f248170ee421943 /module/PluginManager.py | |
parent | many new stuff, some things already working (diff) | |
download | pyload-252cf9964a2ebc78a589f75db2a7be0d25cac512.tar.xz |
more improvements and cleaned some imports
Diffstat (limited to 'module/PluginManager.py')
-rw-r--r-- | module/PluginManager.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/PluginManager.py b/module/PluginManager.py index b56626d0f..cdb3548cb 100644 --- a/module/PluginManager.py +++ b/module/PluginManager.py @@ -18,7 +18,6 @@ """ import re -from threading import Lock from os import listdir from os.path import isfile @@ -26,7 +25,6 @@ from os.path import join from sys import version_info from itertools import chain -import traceback class PluginManager(): def __init__(self, core): @@ -50,6 +48,7 @@ class PluginManager(): #---------------------------------------------------------------------- def createHomeDirs(self): """create homedirectories containing plugins""" + #@TODO implement... pass def createIndex(self): @@ -132,9 +131,10 @@ class PluginManager(): if config: config = [ [y.strip() for y in x.replace("'","").replace('"',"").replace(")","").split(",") if y.strip()] for x in config[0].split("(") if x.strip()] - #@TODO: create config + for item in config: + self.core.config.addPluginConfig([name]+item) - #@TODO replace with plugins in homedir + #@TODO replace with plugins in homedir, plugin updater return plugins |