summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-22 14:25:56 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-22 14:25:56 +0100
commit052d09687627999b91b45a8c0224aa9de4769924 (patch)
tree0ed3dd7cc49cd43fd2ce4c1b1573a13265daefb6 /pyLoadCore.py
parentrefactoring part 1: deprecation warnings, reduced debug, cookie compatibility (diff)
downloadpyload-052d09687627999b91b45a8c0224aa9de4769924.tar.xz
cleaned request factory
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index 805270c59..bdbd29215 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -22,6 +22,8 @@
"""
CURRENT_VERSION = '0.4.3'
+import __builtin__
+
from getopt import GetoptError
from getopt import getopt
import gettext
@@ -51,14 +53,14 @@ from traceback import print_exc
from xmlrpclib import Binary
from module import InitHomeDir
-from module.AccountManager import AccountManager
+from module.plugins.AccountManager import AccountManager
from module.CaptchaManager import CaptchaManager
from module.ConfigParser import ConfigParser
from module.FileDatabase import FileHandler
from module.HookManager import HookManager
-from module.PluginManager import PluginManager
+from module.plugins.PluginManager import PluginManager
from module.PullEvents import PullManager
-from module.RequestFactory import RequestFactory
+from module.network.RequestFactory import RequestFactory
from module.ThreadManager import ThreadManager
import module.remote.SecureXMLRPCServer as Server
from module.web.ServerThread import WebServer
@@ -313,6 +315,7 @@ class Core(object):
self.requestFactory = RequestFactory(self)
+ __builtin__.pyreq = self.requestFactory
#path.append(self.plugin_folder)