addon_manager: fix append_tag usage

Note that this still doesn't allow the --upload
functionality to work. After this fix,
wesnoth still complaints about unordered WML.

It is believed that this is a separate issue though,
happened because of the latest simple_wml changes.
This commit is contained in:
Vasya Novikov 2017-12-20 18:38:00 +03:00 committed by Jyrki Vesterinen
parent 0c4ee56eac
commit 7be364f3b5

View file

@ -311,7 +311,7 @@ class CampaignClient:
print(("Ignored dir", name))
return None
dataNode = append_tag("dir")
dataNode = append_tag(None, "dir")
append_attributes(dataNode, name = name)
for fn in glob.glob(path + "/*"):
if os.path.isdir(fn):