Skip to content

Commit

Permalink
Flake suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
gomezzz committed Aug 11, 2023
1 parent 92cfb41 commit ffc64b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paseos/actors/actor_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ def add_custom_property(
)

# Check that the update function returns a value of the same type as the initial value
if type(new_value) != type(initial_value):
if type(new_value) is not type(initial_value):
# remove property if this failed
del actor._custom_properties[property_name]
raise TypeError(
Expand Down

0 comments on commit ffc64b3

Please sign in to comment.