mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
Don't convert bytes to unicode implicitly.
This commit is contained in:
parent
d517304a79
commit
e2ce207fdd
@ -1173,7 +1173,8 @@ class MapupdateStatusElement(Element):
|
||||
def privkey_from(self, req, tag):
|
||||
server = self._update_status.get_privkey_from()
|
||||
if server:
|
||||
return tag(tags.li("Got privkey from: [%s]" % server.get_name()))
|
||||
return tag(tags.li("Got privkey from: [%s]" % str(
|
||||
server.get_name(), "utf-8")))
|
||||
else:
|
||||
return tag
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user