updaate
This commit is contained in:
parent
e948a14409
commit
b004b94a9a
4
main.py
4
main.py
|
@ -22,6 +22,8 @@ def is_black(black):
|
|||
|
||||
|
||||
def dict_equal(dict1, dict2):
|
||||
try:
|
||||
|
||||
if len(dict2) != len(dict1):
|
||||
return False
|
||||
for k, v1 in dict1.items():
|
||||
|
@ -31,6 +33,8 @@ def dict_equal(dict1, dict2):
|
|||
if k == "Point":
|
||||
if len(v1[0]) != len(v2[0]):
|
||||
return False
|
||||
except:
|
||||
return False
|
||||
return True
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue