From e921a8a45fa785db160d2b1e518e871028454d2f Mon Sep 17 00:00:00 2001
From: RaNaN <Mast3rRaNaN@hotmail.de>
Date: Tue, 17 Aug 2010 15:34:08 +0200
Subject: cleaned plugins

---
 module/web/pyload/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'module/web')

diff --git a/module/web/pyload/views.py b/module/web/pyload/views.py
index 874f25ebf..8c32d36a4 100644
--- a/module/web/pyload/views.py
+++ b/module/web/pyload/views.py
@@ -351,7 +351,7 @@ def config(request):
                     elif action == "password":
                         
                         for acc in accs[skey]:
-                            if acc["login"] == name and acc["password"] != value:
+                            if acc["login"] == name and value.strip():
                                 settings.PYLOAD.update_account(skey, name, value)
                     
                 elif okey == "newacc" and value:
-- 
cgit v1.2.3