From fd6e286ee089cf75276f2581471aba254d69fcb5 Mon Sep 17 00:00:00 2001 From: cp1 Date: Thu, 11 Jun 2009 16:50:48 +0200 Subject: correcting false identation (tabs to spaces) --- Plugins/ZippyshareCom.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Plugins/ZippyshareCom.py') diff --git a/Plugins/ZippyshareCom.py b/Plugins/ZippyshareCom.py index 59bce0623..d0f27fd53 100644 --- a/Plugins/ZippyshareCom.py +++ b/Plugins/ZippyshareCom.py @@ -6,7 +6,7 @@ from time import time from Plugin import Plugin class ZippyshareCom(Plugin): - + def __init__(self, parent): Plugin.__init__(self, parent) props = {} @@ -22,12 +22,12 @@ class ZippyshareCom(Plugin): self.html = None self.want_reconnect = False self.multi_dl = False - + def download_html(self): url = self.parent.url self.html = self.req.load(url) self.time_plus_wait = time() + 12 - + def get_file_url(self): """ returns the absolute downloadable filepath """ @@ -38,7 +38,7 @@ class ZippyshareCom(Plugin): return file_url else: return False - + def get_file_name(self): if self.html == None: self.download_html() @@ -48,13 +48,13 @@ class ZippyshareCom(Plugin): return file_name else: return self.parent.url - + def file_exists(self): - """ returns True or False + """ returns True or False """ if self.html == None: self.download_html() if re.search(r"HTTP Status 404", self.html) != None: return False else: - return True + return True \ No newline at end of file -- cgit v1.2.3