diff options
author | 2010-10-03 14:49:16 +0200 | |
---|---|---|
committer | 2010-10-03 14:49:16 +0200 | |
commit | 3ef26c71cb3c23a876b95af77f6541c06227a937 (patch) | |
tree | 481462718d3c99410cad9dd4e8ffab7eed8e1f6f /module/plugins/Plugin.py | |
parent | share-online premium fix (revert to old design, coz new one is still buggy) (diff) | |
download | pyload-3ef26c71cb3c23a876b95af77f6541c06227a937.tar.xz |
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r-- | module/plugins/Plugin.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index af164c3a5..e34543100 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -343,3 +343,9 @@ class Plugin(object): if delete: remove(self.lastDownload) return name + + def resetAccount(self): + """ invalidates an account, so it will not be used """ + if self.account: + data = self.account.getAccountData(self.user) + data["valid"] = False |