diff options
author | 2013-11-17 20:46:52 +0100 | |
---|---|---|
committer | 2013-11-17 20:46:52 +0100 | |
commit | 07f061bf96992a447ad535460ad6053d15a86888 (patch) | |
tree | a3137c54187aaf93289b9016ca0f3b2598a8b1db /pyload/plugins/Account.py | |
parent | Merge pull request #400 from vuolter/m/c_logging (diff) | |
download | pyload-07f061bf96992a447ad535460ad6053d15a86888.tar.xz |
adapted multihoster to new plugin manager
Diffstat (limited to 'pyload/plugins/Account.py')
-rw-r--r-- | pyload/plugins/Account.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pyload/plugins/Account.py b/pyload/plugins/Account.py index ed0769fb4..d62825cad 100644 --- a/pyload/plugins/Account.py +++ b/pyload/plugins/Account.py @@ -212,9 +212,6 @@ class Account(Base): finally: req.close() - self.logDebug("Account Info: %s" % str(infos)) - self.timestamp = time() - self.restoreDefaults() # reset to initial state if type(infos) == dict: # copy result from dict to class for k, v in infos.iteritems(): @@ -223,6 +220,10 @@ class Account(Base): else: self.logDebug("Unknown attribute %s=%s" % (k, v)) + self.logDebug("Account Info: %s" % str(infos)) + self.timestamp = time() + self.core.evm.dispatchEvent("account:loaded", self.toInfoData()) + #TODO: remove user def loadAccountInfo(self, req): """ Overwrite this method and set account attributes within this method. |