Skip to content

Commit

Permalink
fix client type bug
Browse files Browse the repository at this point in the history
  • Loading branch information
northmachine committed Oct 25, 2024
1 parent 593700b commit aa2e6cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/knext/knext/project/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def get(self, **conditions):
for project in projects:
condition = True
for k, v in conditions.items():
condition = condition and getattr(project, k) == v
condition = condition and int(getattr(project, k)) == v
if condition:
return project
return None
Expand Down

0 comments on commit aa2e6cc

Please sign in to comment.