summaryrefslogtreecommitdiffstats
path: root/pavement.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-08-11 17:32:14 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-08-11 17:32:14 +0200
commit7a318c21d0c4765d343e3c359f92123480327ae2 (patch)
tree881c5c956742a1614663e462e6390024b96b90da /pavement.py
parentfixed replace rule (diff)
downloadpyload-7a318c21d0c4765d343e3c359f92123480327ae2.tar.xz
another try to fix broken accounts
Diffstat (limited to 'pavement.py')
-rw-r--r--pavement.py5
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