summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/Account.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-20 22:56:34 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-20 23:02:08 +0200
commit892b7cbd4981b764bed30b2ccc5ca73d791c39f2 (patch)
tree1f5f142ad7e21de9e88f0c15957bbc7e03a9d1ff /pyload/plugin/Account.py
parentSpare code cosmetics (8) (diff)
downloadpyload-892b7cbd4981b764bed30b2ccc5ca73d791c39f2.tar.xz
Spare code cosmetics (9)
Diffstat (limited to 'pyload/plugin/Account.py')
-rw-r--r--pyload/plugin/Account.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/Account.py b/pyload/plugin/Account.py
index f025170b3..fda76a78f 100644
--- a/pyload/plugin/Account.py
+++ b/pyload/plugin/Account.py
@@ -96,7 +96,7 @@ class Account(Base):
req.cj.clear()
req.close()
if user in self.infos:
- del self.infos[user] # delete old information
+ del self.infos[user] #: delete old information
return self._login(user, self.accounts[user])
@@ -112,7 +112,7 @@ class Account(Base):
""" updates account and return true if anything changed """
if user in self.accounts:
- self.accounts[user]['valid'] = True # do not remove or accounts will not login
+ self.accounts[user]['valid'] = True #: do not remove or accounts will not login
if password:
self.accounts[user]['password'] = password
self.relogin(user)