diff options
author | mkaay <mkaay@mkaay.de> | 2010-05-06 17:46:57 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-05-06 17:46:57 +0200 |
commit | 70815efe19e50718bc149ed77466a35833f8dbd1 (patch) | |
tree | 8ae616d088456a35ec981bfcd8e69703d61793f5 /module/plugins/Plugin.py | |
parent | dlc update (diff) | |
download | pyload-70815efe19e50718bc149ed77466a35833f8dbd1.tar.xz |
new request factory
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r-- | module/plugins/Plugin.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index 107c4f0ca..50923498f 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -26,7 +26,6 @@ from time import sleep import sys from os.path import exists -from module.network.Request import Request from os import makedirs from module.DownloadThread import CaptchaError @@ -44,7 +43,7 @@ class Plugin(): self.configparser = parent.core.parser_plugins self.config = {} self.parent = parent - self.req = Request() + self.req = parent.core.requestFactory.getRequest(self.__name__) self.html = 0 self.time_plus_wait = 0 #time() + wait in seconds self.want_reconnect = False |