diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-08-11 17:32:14 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-08-11 17:32:14 +0200 |
commit | 7a318c21d0c4765d343e3c359f92123480327ae2 (patch) | |
tree | 881c5c956742a1614663e462e6390024b96b90da /pavement.py | |
parent | fixed replace rule (diff) | |
download | pyload-7a318c21d0c4765d343e3c359f92123480327ae2.tar.xz |
another try to fix broken accounts
Diffstat (limited to 'pavement.py')
-rw-r--r-- | pavement.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pavement.py b/pavement.py index 1c3cfc07a..01c16fc6f 100644 --- a/pavement.py +++ b/pavement.py @@ -73,9 +73,8 @@ module_replace = [ ('from module.unescape import unescape', 'from pyload.utils import html_unescape as unescape'), ('from module.lib.BeautifulSoup import BeautifulSoup', 'from BeautifulSoup import BeautifulSoup'), ('from module.lib import feedparser', 'import feedparser'), - ('self.account.getAccountInfo(self.user, ', 'self.account.getAccountInfo('), - ('self.account.getAccountInfo(self.user)', 'self.account.getAccountInfo()'), - ('self.account.getAccountInfo()["premium"]', 'self.account.isPremium()'), + ('self.account.getAccountInfo(self.user, ', 'self.account.getAccountData('), + ('self.account.getAccountInfo(self.user)', 'self.account.getAccountData()'), ('self.account.accounts[self.user]["password"]', 'self.account.password'), ("self.account.accounts[self.user]['password']", 'self.account.password'), ('from module.', 'from pyload.') # This should be always the last one |