Skip to content

Commit

Permalink
Update geti_sdk/rest_clients/project_client/project_client.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ludo Cornelissen <[email protected]>
  • Loading branch information
igor-davidyuk and ljcornel authored Jul 18, 2024
1 parent a4cd2f8 commit e26f24a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geti_sdk/rest_clients/project_client/project_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ def delete_project(
f"{dataset.id}/statistics",
method="GET",
)
if type(dataset_statistics) is dict:
if isinstance(dataset_statistics, dict):
dataset_overview = dataset_statistics["overview"]
image_count += dataset_overview.get("images", 0)
video_count += dataset_overview.get("videos", 0)
Expand Down

0 comments on commit e26f24a

Please sign in to comment.