commit b350c275622d264a31c3bbc141dcae5f40399d15
parent 2863d195794f87bf4496451829eb8b24ef19851a
Author: ThomasV <thomasv@gitorious>
Date: Wed, 10 Jun 2015 22:20:29 +0200
openalias: replace @ in resolve
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/openalias.py b/plugins/openalias.py
@@ -86,7 +86,6 @@ class Plugin(BasePlugin):
return
url = str(self.win.payto_e.toPlainText())
- url = url.replace('@', '.') # support email-style addresses, per the OA standard
if url == self.previous_payto:
return
@@ -202,6 +201,7 @@ class Plugin(BasePlugin):
'''Resolve OpenAlias address using url.'''
self.print_error('[OA] Attempting to resolve OpenAlias data for ' + url)
+ url = url.replace('@', '.') # support email-style addresses, per the OA standard
prefix = 'btc'
retries = 3
err = None