Skip to content
Snippets Groups Projects
Commit e0624d32 authored by Vriezen, E.C. (Emma)'s avatar Vriezen, E.C. (Emma)
Browse files

Changed a hardcoded return value into a variable because they would be the same.

parent 4f53487d
No related branches found
No related tags found
1 merge request!80Sc 134/form mistake detection aa
......@@ -249,7 +249,7 @@ class Sentence(list):
if self[index].has_source():
return index
index -= 1
return -1
return index
def __str__(self):
return ' '.join([word.word for word in self])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment