summaryrefslogtreecommitdiffstats
path: root/pavement.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-07-29 20:12:53 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-07-29 20:12:53 +0200
commitbeab818794910974613316ed4449b9fb1070465a (patch)
treea7560453522f1cf6e49160bb776b4ea5ac55e1e9 /pavement.py
parentAdapted UnrestrictLi (diff)
downloadpyload-beab818794910974613316ed4449b9fb1070465a.tar.xz
Replace rules to fix: http://beta.pyload.org/index.php/33-shareonline-biz
Diffstat (limited to 'pavement.py')
-rw-r--r--pavement.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pavement.py b/pavement.py
index 3409e4117..abb80cb5c 100644
--- a/pavement.py
+++ b/pavement.py
@@ -70,6 +70,9 @@ 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.accounts[self.user]["password"]', 'self.account.password'),
('from module.', 'from pyload.') # This should be always the last one
]