Skip to content

Commit

Permalink
creating new folder bug patch
Browse files Browse the repository at this point in the history
  • Loading branch information
v6shah authored Mar 5, 2024
1 parent 523282b commit 4ca0ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tableaudocumentapi/datasource.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def add_folder(self, name, role=None):
raise NotImplementedError

# trick is to find the first folder tag and add to it
folder_xml = self._datasourceTree.find(".//folder")[0]
folder_xml = self._datasourceTree.find(".//folder")
folder_parent = folder_xml.getparent()
folder_parent.addnext(folder.xml)

Expand Down

0 comments on commit 4ca0ac5

Please sign in to comment.