Skip to content

Commit 7946515

Browse files
committed
[validation.py] Replace Empty String Statement
1 parent 20f02f4 commit 7946515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

odml/validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ def property_values_check(prop):
366366
:param prop: property the validation is applied on.
367367
"""
368368

369-
if prop.dtype is not None and prop.dtype is not "":
369+
if prop.dtype is not None and prop.dtype != "":
370370
dtype = prop.dtype
371371
elif prop.values:
372372
dtype = dtypes.infer_dtype(prop.values[0])

0 commit comments

Comments
 (0)