[wesnoth_addon_manager] Properly encode description strings...

...when uploading a campaign.
This commit is contained in:
Elias Pschernig 2011-03-20 22:02:15 +00:00
parent 915faaf868
commit 8d3bedaf67

View file

@ -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