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:
parent
0c4ee56eac
commit
7be364f3b5
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue