summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/SimpleHoster.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-11 03:58:19 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-11 03:58:19 +0100
commitd952efb58d72b0add82efe34a7f2fbdc51423490 (patch)
tree30e7982dc2c2dde195c6bf25f500f1e236ba5ef7 /module/plugins/internal/SimpleHoster.py
parent[ZippyshareCom] Update get_checksum (diff)
downloadpyload-d952efb58d72b0add82efe34a7f2fbdc51423490.tar.xz
[XFSHoster] Fix https://github.com/pyload/pyload/issues/1112
Diffstat (limited to 'module/plugins/internal/SimpleHoster.py')
-rw-r--r--module/plugins/internal/SimpleHoster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index e820ab141..e4ff1a2d8 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -483,7 +483,7 @@ class SimpleHoster(Hoster):
self.logDebug("Handled as free download")
self.handleFree(pyfile)
- self.downloadLink(self.link, self.DISPOSITION) #: Remove `DISPOSITION` in 0.4.10
+ self.downloadLink(self.link, self.DISPOSITION) #: Remove `self.DISPOSITION` in 0.4.10
self.checkFile()
@@ -599,7 +599,7 @@ class SimpleHoster(Hoster):
pass
self.logDebug("File name: %s" % self.pyfile.name,
- "File size: %s" % (self.pyfile.size if self.pyfile.size > 0 else "Unknown"))
+ "File size: %s byte" % self.pyfile.size if self.pyfile.size > 0 else "File size: Unknown")
def checkInfo(self):