diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-08-10 23:29:22 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-08-10 23:29:22 +0200 |
commit | 4e23c5a3065f9ef69f969a965e819f75cd0bda41 (patch) | |
tree | 32d658b1d3c63485ac8755fc77f9ce2ffb7372b6 | |
parent | new parse_time helper function (diff) | |
download | pyload-4e23c5a3065f9ef69f969a965e819f75cd0bda41.tar.xz |
additional replace rule
-rw-r--r-- | pavement.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pavement.py b/pavement.py index d168f23bb..2787a613f 100644 --- a/pavement.py +++ b/pavement.py @@ -289,6 +289,7 @@ def replace_module_imports(): elif '/accounts/' in path: content = content.replace('self.accounts[user]["password"]', 'self.password') content = content.replace("self.accounts[user]['password']", 'self.password') + content = content.replace('.getAccountInfo()["premium"]', '.isPremium()') f = open(path, 'w') f.write(content) f.close() |