Skip to content

Commit 48d8379

Browse files
Fix: Fix supported types reported in the exception when the type is unknown (#25)
1 parent f5f3b98 commit 48d8379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dir_content_diff/base_comparators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ def _cast_from_attribute(text, attr):
433433
else:
434434
raise TypeError(
435435
"Unsupported type. "
436-
"Only 'str', 'int', 'float', 'bool', 'list', 'dict', and 'None' are supported."
436+
"Only 'str', 'int', 'float', 'bool', 'list', 'dict', and 'null' are supported."
437437
)
438438
return res
439439

0 commit comments

Comments
 (0)