diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-27 01:18:45 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-27 01:18:45 +0100 |
commit | 146fe1e309c33ab149bfaf58ad86c0dd4fb9b156 (patch) | |
tree | 22bf2ace19d926392dbe7ba48e44c13c63cd368a /module/plugins/hoster/NetloadIn.py | |
parent | [SimpleHoster] Direct download link support (diff) | |
download | pyload-146fe1e309c33ab149bfaf58ad86c0dd4fb9b156.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/NetloadIn.py')
-rw-r--r-- | module/plugins/hoster/NetloadIn.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/NetloadIn.py b/module/plugins/hoster/NetloadIn.py index 2d4773bac..2f0c6e2a8 100644 --- a/module/plugins/hoster/NetloadIn.py +++ b/module/plugins/hoster/NetloadIn.py @@ -26,10 +26,11 @@ def getInfo(urls): api = getURL(apiurl + ids, decode=True) if api is None or len(api) < 10: - print "Netload prefetch: failed " + self.logDebug("Prefetch failed") return if api.find("unknown_auth") >= 0: - print "Netload prefetch: Outdated auth code " + print + self.logDebug("Outdated auth code") return result = [] @@ -43,8 +44,7 @@ def getInfo(urls): size = 0 result.append((tmp[1], size, 2 if tmp[3] == "online" else 1, chunk[i])) except: - print "Netload prefetch: Error while processing response: " - print r + self.logDebug("Error while processing response: %s" % r) yield result |