Fix label on address creation

master
Peter Šurda 3 years ago
parent 33c5d5fc91
commit 0180ddeece
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87
  1. 3
      autoresponder_mailing.py

@ -36,7 +36,8 @@ class BitmessageAutoresponder(): # pylint: disable=too-many-locals
return
except KeyError:
pass
self.api.createRandomAddress(base64.b64encode(self.label.encode()))
self.api.createRandomAddress(base64.b64encode(
self.label.encode()).decode('ascii'))
def loop(self):
"""Main loop"""

Loading…
Cancel
Save