summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/RehostTo.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/RehostTo.py')
-rw-r--r--module/plugins/hoster/RehostTo.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/plugins/hoster/RehostTo.py b/module/plugins/hoster/RehostTo.py
index e1f719c19..80465724d 100644
--- a/module/plugins/hoster/RehostTo.py
+++ b/module/plugins/hoster/RehostTo.py
@@ -20,10 +20,12 @@ class RehostTo(Hoster):
def getFilename(self, url):
return unquote(url.rsplit("/", 1)[1])
+
def setup(self):
self.chunkLimit = 1
self.resumeDownload = True
+
def process(self, pyfile):
if not self.account:
self.logError(_("Please enter your %s account or deactivate this plugin") % "rehost.to")