From 70815efe19e50718bc149ed77466a35833f8dbd1 Mon Sep 17 00:00:00 2001 From: mkaay Date: Thu, 6 May 2010 17:46:57 +0200 Subject: new request factory --- module/plugins/Plugin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'module/plugins/Plugin.py') 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 -- cgit v1.2.3