Skip to content

Commit a4e85be

Browse files
jacalataCopilot
andauthored
Update tableauserverclient/server/endpoint/workbooks_endpoint.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3fa5ce7 commit a4e85be

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tableauserverclient/server/endpoint/workbooks_endpoint.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,7 @@ def refresh(self, workbook_item: Union[WorkbookItem, str], incremental: bool = F
152152
if e.code.startswith("409") and "already" in e.detail:
153153
print(e.summary + " " + e.detail)
154154
return None
155-
else:
156-
raise e
155+
raise
157156
new_job = JobItem.from_response(server_response.content, self.parent_srv.namespace)[0]
158157
return new_job
159158

0 commit comments

Comments
 (0)