From a8cfc154fc35edc16d10672712a6a3b36c6b9560 Mon Sep 17 00:00:00 2001 From: spoob Date: Fri, 5 Jun 2009 13:35:10 +0200 Subject: removed useless function get_parent_status --- Plugins/UploadedTo.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'Plugins/UploadedTo.py') diff --git a/Plugins/UploadedTo.py b/Plugins/UploadedTo.py index aeda42f1c..67c8685fa 100644 --- a/Plugins/UploadedTo.py +++ b/Plugins/UploadedTo.py @@ -22,17 +22,8 @@ class UploadedTo(Plugin): self.html_old = None #time() where loaded the HTML self.time_plus_wait = None #time() + wait in seconds self.want_reconnect = None - self.multi_dl = False + self.multi_dl = False - def set_parent_status(self): - """ sets all available Statusinfos about a File in self.parent.status - """ - if self.html == None: - self.download_html() - self.parent.status.filename = self.get_file_name() - self.parent.status.url = self.get_file_url() - self.parent.status.wait = self.wait_until() - def download_html(self): url = self.parent.url self.html = self.req.load(url) -- cgit v1.2.3