|
@@ -81,7 +81,7 @@ def floor_sort_cmp(x, y):
|
|
|
def check_level_reasonable(model_list, level_data):
|
|
|
levels = []
|
|
|
for model_id, level_rows in level_data.items():
|
|
|
- if len(level_rows) == 1:
|
|
|
+ if level_rows is not None and len(level_rows) == 1:
|
|
|
levels.append(level_rows[0])
|
|
|
|
|
|
|