summaryrefslogtreecommitdiffstats
path: root/module/PluginManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-07-29 17:05:45 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-07-29 17:05:45 +0200
commit252cf9964a2ebc78a589f75db2a7be0d25cac512 (patch)
tree0f4cd1a7949f8a3dc87eaed35f248170ee421943 /module/PluginManager.py
parentmany new stuff, some things already working (diff)
downloadpyload-252cf9964a2ebc78a589f75db2a7be0d25cac512.tar.xz
more improvements and cleaned some imports
Diffstat (limited to 'module/PluginManager.py')
-rw-r--r--module/PluginManager.py8
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