jxing 5 years ago
parent
commit
fab237d95d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/level/check_level.py

+ 1 - 1
src/level/check_level.py

@@ -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])