summaryrefslogtreecommitdiffstats
path: root/module/plugins/Account.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-29 21:21:30 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-29 21:21:30 +0100
commit1541e8b09a7a596b4c3f1e1381bc7911ac582573 (patch)
tree74b958e8bf85fd5a58d53b4c14509b1b9f52d45f /module/plugins/Account.py
parentbetter cleanup (diff)
downloadpyload-1541e8b09a7a596b4c3f1e1381bc7911ac582573.tar.xz
hotfile fix
Diffstat (limited to 'module/plugins/Account.py')
-rw-r--r--module/plugins/Account.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/module/plugins/Account.py b/module/plugins/Account.py
index 29c5f93b8..5fa7140f5 100644
--- a/module/plugins/Account.py
+++ b/module/plugins/Account.py
@@ -56,6 +56,8 @@ class Account():
data["valid"] = False
if self.core.debug:
print_exc()
+ finally:
+ if req: req.close()
def setAccounts(self, accounts):
self.accounts = accounts
@@ -95,6 +97,8 @@ class Account():
except Exception, e:
infos = {"error": str(e)}
+ if req: req.close()
+
self.core.log.debug("Account Info: %s" % str(infos))
self.infos[name] = infos