Browse Source

fix: make_request returns pr

283
ThomasV 10 years ago
parent
commit
c04d609862
  1. 4
      plugins/email_requests.py

4
plugins/email_requests.py

@ -151,10 +151,10 @@ class Plugin(BasePlugin):
if r.get('signature'): if r.get('signature'):
pr = paymentrequest.serialize_request(r) pr = paymentrequest.serialize_request(r)
else: else:
pr, requestor = paymentrequest.make_request(self.config, r) pr = paymentrequest.make_request(self.config, r)
if not pr: if not pr:
return return
recipient, ok = QtGui.QInputDialog.getText(self.win, 'Send request', 'Send request to:') recipient, ok = QtGui.QInputDialog.getText(self.win, 'Send request', 'Email invoice to:')
if not ok: if not ok:
return return
recipient = str(recipient) recipient = str(recipient)

Loading…
Cancel
Save