Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
Fix unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jpkrajewski committed Jul 18, 2024
1 parent 9a78163 commit f65f38d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catalystwan/api/administration.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def update(self, payload: ThreadGridApi) -> bool:
def update(self, payload: Union[Organization, Certificate, Password, Vbond, ThreadGridApi]) -> bool:
if isinstance(payload, ThreadGridApi):
dataseq = self.__update_thread_grid_api(payload)
return True
return len(dataseq) == 1
json_payload = asdict(payload) # type: ignore
if isinstance(payload, Organization):
response = self.__update_organization(json_payload)
Expand Down

0 comments on commit f65f38d

Please sign in to comment.