summaryrefslogtreecommitdiffstats
path: root/pyload/manager/Account.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 17:20:59 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 17:20:59 +0200
commite00ef98491f79ae8aa972ae1473dae4a7b78c07e (patch)
tree31be0c7cdcebb61525bcc387bcf15d265a1c494a /pyload/manager/Account.py
parentFix except (diff)
downloadpyload-e00ef98491f79ae8aa972ae1473dae4a7b78c07e.tar.xz
Cleanup
Diffstat (limited to 'pyload/manager/Account.py')
-rw-r--r--pyload/manager/Account.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/pyload/manager/Account.py b/pyload/manager/Account.py
index 12fc970c2..9b7cb590a 100644
--- a/pyload/manager/Account.py
+++ b/pyload/manager/Account.py
@@ -16,7 +16,6 @@ ACC_VERSION = 1
class AccountManager(object):
"""manages all accounts"""
- #----------------------------------------------------------------------
def __init__(self, core):
"""Constructor"""
@@ -64,6 +63,7 @@ class AccountManager(object):
#----------------------------------------------------------------------
+
def loadAccounts(self):
"""loads all accounts available"""
@@ -111,6 +111,7 @@ class AccountManager(object):
#----------------------------------------------------------------------
+
def saveAccounts(self):
"""save all account information"""
@@ -135,6 +136,7 @@ class AccountManager(object):
#----------------------------------------------------------------------
+
def initAccountPlugins(self):
"""init names"""
for name in self.core.pluginManager.getAccountPlugins():
@@ -142,6 +144,8 @@ class AccountManager(object):
@lock
+
+
def updateAccount(self, plugin , user, password=None, options={}):
"""add or update account"""
if plugin in self.accounts:
@@ -154,6 +158,8 @@ class AccountManager(object):
@lock
+
+
def removeAccount(self, plugin, user):
"""remove account"""
@@ -165,6 +171,8 @@ class AccountManager(object):
@lock
+
+
def getAccountInfos(self, force=True, refresh=False):
data = {}