Fix label on address creation
This commit is contained in:
parent
33c5d5fc91
commit
0180ddeece
|
@ -36,7 +36,8 @@ class BitmessageAutoresponder(): # pylint: disable=too-many-locals
|
||||||
return
|
return
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
self.api.createRandomAddress(base64.b64encode(self.label.encode()))
|
self.api.createRandomAddress(base64.b64encode(
|
||||||
|
self.label.encode()).decode('ascii'))
|
||||||
|
|
||||||
def loop(self):
|
def loop(self):
|
||||||
"""Main loop"""
|
"""Main loop"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user