Dmitry Kirsanov commited on
Commit
b89a17d
·
1 Parent(s): 01c53a4
Files changed (1) hide show
  1. understand.py +2 -2
understand.py CHANGED
@@ -74,9 +74,9 @@ ACTORS:
74
 
75
  for line in lines:
76
  line = line.strip()
77
- if line.trim() == "CONCEPTS:":
78
  current_list = "concepts"
79
- elif line.trim() == "ACTORS:":
80
  current_list = "actors"
81
  elif current_list is not None:
82
  if line.startswith("- "):
 
74
 
75
  for line in lines:
76
  line = line.strip()
77
+ if line.strip() == "CONCEPTS:":
78
  current_list = "concepts"
79
+ elif line.strip() == "ACTORS:":
80
  current_list = "actors"
81
  elif current_list is not None:
82
  if line.startswith("- "):