summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/SimpleHoster.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-25 01:16:52 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-25 01:16:52 +0200
commitc41d4ec4c5935ee702a44e919730971028bf5724 (patch)
treef9e557abaa0c9c0161859b9705ae8414a95ecaef /module/plugins/internal/SimpleHoster.py
parentUse parseTraffic instead parseFileSize in accounts (diff)
downloadpyload-c41d4ec4c5935ee702a44e919730971028bf5724.tar.xz
Fix and improve plugins logging
Diffstat (limited to 'module/plugins/internal/SimpleHoster.py')
-rw-r--r--module/plugins/internal/SimpleHoster.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index be3e3c8fc..51010d569 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -221,10 +221,12 @@ class SimpleHoster(Hoster):
self.getFileInfo()
if self.premium and (not self.FORCE_CHECK_TRAFFIC or self.checkTrafficLeft()):
+ self.logDebug("Handle as premium download")
self.handlePremium()
elif premium_only:
self.fail("This link require a premium account")
else:
+ self.logDebug("Handle as free download")
self.handleFree()