summaryrefslogtreecommitdiffstats
path: root/Plugins/ZippyshareCom.py
diff options
context:
space:
mode:
authorGravatar cp1 <christopherpool1@googlemail.com> 2009-06-11 16:50:48 +0200
committerGravatar cp1 <christopherpool1@googlemail.com> 2009-06-11 16:50:48 +0200
commitfd6e286ee089cf75276f2581471aba254d69fcb5 (patch)
tree1f91e2063f3182d172d7c7f70c4fdb98b407a60b /Plugins/ZippyshareCom.py
parentadd wxversion selector to ensure wxWidgets 2.8 is used (diff)
downloadpyload-fd6e286ee089cf75276f2581471aba254d69fcb5.tar.xz
correcting false identation (tabs to spaces)
Diffstat (limited to 'Plugins/ZippyshareCom.py')
-rw-r--r--Plugins/ZippyshareCom.py14
1 files changed, 7 insertions, 7 deletions
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