summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-14 21:53:48 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-14 21:53:48 +0200
commitd23246547e10382b2244fc34157a2896706ac2c7 (patch)
tree262dbbc1fa59c0ef68f273b356912f6453843777 /module/plugins
parent[Plugin] Call api faster (diff)
downloadpyload-d23246547e10382b2244fc34157a2896706ac2c7.tar.xz
Stretch comment separator
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/AccountManager.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/module/plugins/AccountManager.py b/module/plugins/AccountManager.py
index b046ba7a7..b20a5e3b3 100644
--- a/module/plugins/AccountManager.py
+++ b/module/plugins/AccountManager.py
@@ -30,7 +30,7 @@ ACC_VERSION = 1
class AccountManager:
"""manages all accounts"""
- #----------------------------------------------------------------------
+ #--------------------------------------------------------------------------
def __init__(self, core):
"""Constructor"""
@@ -66,7 +66,8 @@ class AccountManager:
plugins.append(self.getAccountPlugin(plugin))
return plugins
- #----------------------------------------------------------------------
+
+ #--------------------------------------------------------------------------
def loadAccounts(self):
"""loads all accounts available"""
@@ -112,7 +113,8 @@ class AccountManager:
elif ":" in line:
name, sep, pw = line.partition(":")
self.accounts[plugin][name] = {"password": pw, "options": {}, "valid": True}
- #----------------------------------------------------------------------
+
+ #--------------------------------------------------------------------------
def saveAccounts(self):
"""save all account information"""
@@ -132,7 +134,7 @@ class AccountManager:
f.close()
chmod(f.name, 0600)
- #----------------------------------------------------------------------
+ #--------------------------------------------------------------------------
def initAccountPlugins(self):
"""init names"""
for name in self.core.pluginManager.getAccountPlugins():