tfix: don't attempt openalias when processing a PR - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit d8ae34ef86422ce23d6934374a5213b90df07343 (DIR) parent 30bed4c5a937e94bec1f45aaad091c5566554b35 (HTM) Author: ThomasV <thomasv@gitorious> Date: Tue, 21 Apr 2015 09:06:41 +0200 fix: don't attempt openalias when processing a PR Diffstat: M plugins/openalias.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- (DIR) diff --git a/plugins/openalias.py b/plugins/openalias.py t@@ -85,6 +85,8 @@ class Plugin(BasePlugin): return if self.win.payto_e.is_multiline(): # only supports single line entries atm return + if self.win.payto_e.is_pr: + return url = str(self.win.payto_e.toPlainText()) url = url.replace('@', '.') # support email-style addresses, per the OA standard