diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-22 20:38:45 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-22 20:38:45 +0100 |
commit | 3b0f78439f70ede5dd0c24af39d7eb1b79b1446c (patch) | |
tree | a5946290c13a3e85fc4e1e67493fd0f26ba9fff9 /module/PluginThread.py | |
parent | NCryptIn: Bug fixes (diff) | |
download | pyload-3b0f78439f70ede5dd0c24af39d7eb1b79b1446c.tar.xz |
filesonic info prefetching + premium fix
Diffstat (limited to 'module/PluginThread.py')
-rw-r--r-- | module/PluginThread.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/PluginThread.py b/module/PluginThread.py index b99589154..75ed7e5b9 100644 --- a/module/PluginThread.py +++ b/module/PluginThread.py @@ -445,6 +445,7 @@ class InfoThread(PluginThread): try: self.m.core.log.debug("Run Info Fetching for %s" % pluginname) for result in plugin.getInfo(urls): + #result = [ .. (name, size, status, url) .. ] if not type(result) == list: result = [result] self.m.core.files.updateFileInfo(result, self.pid) @@ -452,5 +453,7 @@ class InfoThread(PluginThread): self.m.core.files.save() except Exception, e: - self.m.core.log.debug("Info Fetching for %s failed | %s" % (pluginname,str) ) + self.m.core.log.warning(_("Info Fetching for %(name)s failed | %(err)s") % {"name": pluginname, "err": str(e)} ) + if self.m.core.debug: + print_exc() |