Skip to content

Commit

Permalink
Fixed crash from use of nonexistent enum :D
Browse files Browse the repository at this point in the history
  • Loading branch information
dhakim87 committed May 19, 2020
1 parent 9963225 commit 3e34850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion microsetta_private_api/example/client_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ def get_sample(account_id, source_id, sample_id):
return sample_output

source_type = source_output['source_type']
is_environmental = source_type == Source.SOURCE_TYPE_ENVIRONMENTAL
is_environmental = source_type == Source.SOURCE_TYPE_ENVIRONMENT
is_human = source_type == Source.SOURCE_TYPE_HUMAN

if is_human:
Expand Down

0 comments on commit 3e34850

Please sign in to comment.