[wesnoth_addon_manager] Properly encode description strings...
...when uploading a campaign.
This commit is contained in:
parent
915faaf868
commit
8d3bedaf67
1 changed files with 1 additions and 0 deletions
|
@ -268,6 +268,7 @@ class DataSub(Data):
|
|||
for r in result:
|
||||
if r != None:
|
||||
# For networking, we need actual bytesteam here, not unicode.
|
||||
if type(r) is unicode: r = r.encode("utf8")
|
||||
bytes += str(r)
|
||||
|
||||
return bytes
|
||||
|
|
Loading…
Add table
Reference in a new issue