8000 Enabled moving projects too the root. (#567) · stevee954/server-client-python@300307d · GitHub
[go: up one dir, main page]

Skip to content

Commit 300307d

Browse files
authored
Enabled moving projects too the root. (tableau#567)
1 parent 0b3dc62 commit 300307d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tableauserverclient/server/request_factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def update_req(self, project_item):
249249
project_element.attrib['description'] = project_item.description
250250
if project_item.content_permissions:
251251
project_element.attrib['contentPermissions'] = project_item.content_permissions
252-
if project_item.parent_id:
252+
if project_item.parent_id is not None:
253253
project_element.attrib['parentProjectId'] = project_item.parent_id
254254
return ET.tostring(xml_request)
255255

0 commit comments

Comments
 (0)
0